Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1278071, increase number of iterations for export to PKCS #12. Fi…
…x suggested by Dan Veditz. Thanks to Hubert Kario for performance analysis. r=fkiefer
  • Loading branch information
kaie committed Oct 26, 2017
1 parent 661b6f3 commit 1b6e302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pkcs7/p7create.c
Expand Up @@ -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,
Expand Down

0 comments on commit 1b6e302

Please sign in to comment.