summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/softoken/sftkpwd.c
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-07-03 15:01:34 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-07-03 16:22:13 +0200
commit8ea1f38f9c55a076dade47eaf0daaea27590d179 (patch)
treea2879f8f5a6b03a881daffd1d24ad8e409d09dac /security/nss/lib/softoken/sftkpwd.c
parent893de15c27912cd96649e56597d25b1ecb2ee6d9 (diff)
downloadUXP-8ea1f38f9c55a076dade47eaf0daaea27590d179.tar
UXP-8ea1f38f9c55a076dade47eaf0daaea27590d179.tar.gz
UXP-8ea1f38f9c55a076dade47eaf0daaea27590d179.tar.lz
UXP-8ea1f38f9c55a076dade47eaf0daaea27590d179.tar.xz
UXP-8ea1f38f9c55a076dade47eaf0daaea27590d179.zip
Change softoken password rounds to a more conservative number still
within industry standard security, considering our db hashing is more CPU intensive than anticipated.
Diffstat (limited to 'security/nss/lib/softoken/sftkpwd.c')
-rw-r--r--security/nss/lib/softoken/sftkpwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/softoken/sftkpwd.c b/security/nss/lib/softoken/sftkpwd.c
index 745e724f0..b6d098a07 100644
--- a/security/nss/lib/softoken/sftkpwd.c
+++ b/security/nss/lib/softoken/sftkpwd.c
@@ -36,9 +36,9 @@
const int NSS_DEFAULT_ITERATION_COUNT =
#ifdef DEBUG
- 1000
+ 25
#else
- 60000
+ 500
#endif
;