diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/nss_util.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc index 47b4d06..6af70a4 100644 --- a/crypto/nss_util.cc +++ b/crypto/nss_util.cc @@ -504,6 +504,11 @@ class NSSInitSingleton { } root_ = InitDefaultRootCerts(); + + // MD5 certificate signatures are disabled by default in NSS 3.14. + // Enable MD5 certificate signatures until we figure out how to deal + // with the weak certificate signature unit tests. + NSS_SetAlgorithmPolicy(SEC_OID_MD5, NSS_USE_ALG_IN_CERT_SIGNATURE, 0); #endif // defined(USE_NSS) } } |