Index: nss/lib/nss/nss.h |
diff --git a/nss/lib/nss/nss.h b/nss/lib/nss/nss.h |
index 0bcf73f47345c76d4afa73c045d8d07675bc0bc6..2433cfc194942a5145cdbce06c333f292b89e711 100644 |
--- a/nss/lib/nss/nss.h |
+++ b/nss/lib/nss/nss.h |
@@ -33,9 +33,9 @@ |
* The format of the version string should be |
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]" |
*/ |
-#define NSS_VERSION "3.19" _NSS_ECC_STRING _NSS_CUSTOMIZED |
+#define NSS_VERSION "3.21" _NSS_ECC_STRING _NSS_CUSTOMIZED |
#define NSS_VMAJOR 3 |
-#define NSS_VMINOR 19 |
+#define NSS_VMINOR 21 |
#define NSS_VPATCH 0 |
#define NSS_VBUILD 0 |
#define NSS_BETA PR_FALSE |
@@ -294,6 +294,19 @@ SECStatus NSS_RegisterShutdown(NSS_ShutdownFunc sFunc, void *appData); |
*/ |
SECStatus NSS_UnregisterShutdown(NSS_ShutdownFunc sFunc, void *appData); |
+/* Available options for NSS_OptionSet() and NSS_OptionGet(). |
+ */ |
+#define NSS_RSA_MIN_KEY_SIZE (1<<0) |
+#define NSS_DH_MIN_KEY_SIZE (1<<1) |
+#define NSS_DSA_MIN_KEY_SIZE (1<<2) |
+ |
+/* |
+ * Set and get global options for the NSS library. |
+ */ |
+SECStatus NSS_OptionSet(PRInt32 which, PRInt32 value); |
+SECStatus NSS_OptionGet(PRInt32 which, PRInt32 *value); |
+ |
+ |
/* |
* Close the Cert, Key databases. |
*/ |