From 777d80b455a4e357dcdbab38031b7f5653dea8ff Mon Sep 17 00:00:00 2001 From: roytam1 Date: Sun, 23 Dec 2018 22:28:17 +0800 Subject: [PATCH] NSS: re-enable MD5 signatures support without turning on MD2/MD4. --- security/nss/lib/util/secoid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/nss/lib/util/secoid.c b/security/nss/lib/util/secoid.c index 0414c47e..5068b238 100644 --- a/security/nss/lib/util/secoid.c +++ b/security/nss/lib/util/secoid.c @@ -1922,12 +1922,12 @@ SECOID_Init(void) /* initialize any policy flags that are disabled by default */ xOids[SEC_OID_MD2 ].notPolicyFlags = ~0; xOids[SEC_OID_MD4 ].notPolicyFlags = ~0; - xOids[SEC_OID_MD5 ].notPolicyFlags = ~0; + /*xOids[SEC_OID_MD5 ].notPolicyFlags = ~0;*/ xOids[SEC_OID_PKCS1_MD2_WITH_RSA_ENCRYPTION ].notPolicyFlags = ~0; xOids[SEC_OID_PKCS1_MD4_WITH_RSA_ENCRYPTION ].notPolicyFlags = ~0; - xOids[SEC_OID_PKCS1_MD5_WITH_RSA_ENCRYPTION ].notPolicyFlags = ~0; + /*xOids[SEC_OID_PKCS1_MD5_WITH_RSA_ENCRYPTION ].notPolicyFlags = ~0;*/ xOids[SEC_OID_PKCS5_PBE_WITH_MD2_AND_DES_CBC].notPolicyFlags = ~0; - xOids[SEC_OID_PKCS5_PBE_WITH_MD5_AND_DES_CBC].notPolicyFlags = ~0; + /*xOids[SEC_OID_PKCS5_PBE_WITH_MD5_AND_DES_CBC].notPolicyFlags = ~0;*/ } envVal = PR_GetEnv("NSS_HASH_ALG_SUPPORT");