diff options
author | Kai Engert <kaie@kuix.de> | 2017-10-26 16:23:24 +0200 |
---|---|---|
committer | Kai Engert <kaie@kuix.de> | 2017-10-26 16:23:24 +0200 |
commit | 7f135f1a513461bbe4c6abec9b2bf9bfb4ba620b (patch) | |
tree | ac4f7e1f88bdb0bfc0b450e08ed6534fcafe8e9e /lib/pkcs7 | |
parent | d144c2d0f1981b21c22d61b7d07114b598f2e45b (diff) | |
download | nss-hg-7f135f1a513461bbe4c6abec9b2bf9bfb4ba620b.tar.gz |
Bug 1278071, increase number of iterations for export to PKCS #12. Fix suggested by Dan Veditz. Thanks to Hubert Kario for performance analysis. r=fkiefer
Diffstat (limited to 'lib/pkcs7')
-rw-r--r-- | lib/pkcs7/p7create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pkcs7/p7create.c b/lib/pkcs7/p7create.c index 96ada5c0f..ae73755f0 100644 --- a/lib/pkcs7/p7create.c +++ b/lib/pkcs7/p7create.c @@ -18,7 +18,7 @@ #include "secder.h" #include "secpkcs5.h" -const int NSS_PBE_DEFAULT_ITERATION_COUNT = 2000; /* used in p12e.c too */ +const int NSS_PBE_DEFAULT_ITERATION_COUNT = 1000000; /* used in p12e.c too */ static SECStatus sec_pkcs7_init_content_info(SEC_PKCS7ContentInfo *cinfo, PLArenaPool *poolp, |