Blame SOURCES/nss-pkcs12-iterations-limit.patch

744490
# HG changeset patch
744490
# User J.C. Jones <jjones@mozilla.com>
744490
# Date 1521824312 25200
744490
#      Fri Mar 23 09:58:32 2018 -0700
744490
# Branch NSS_3_36_BRANCH
744490
# Node ID ba3f1cc8a8e644ee6f8a763624d97e987816304d
744490
# Parent  2355c9e3bba477c947a09a2fe8b1ed8971fab1cb
744490
Bug 1278071 - Limit iterations for PKCS #12 export for Windows r=kaie
744490
744490
Per Bug 1436873, Windows is limited on importing PKCS12 files of 600k rounds
744490
or less. So for compatibility's sake, let's limit there, too.
744490
744490
diff --git a/lib/pkcs7/p7create.c b/lib/pkcs7/p7create.c
744490
--- a/lib/pkcs7/p7create.c
744490
+++ b/lib/pkcs7/p7create.c
744490
@@ -22,7 +22,7 @@ const int NSS_PBE_DEFAULT_ITERATION_COUN
744490
 #ifdef DEBUG
744490
     10000
744490
 #else
744490
-    1000000
744490
+    600000
744490
 #endif
744490
     ;
744490