Bug 1396463 - add ssl_sig_rsa_pkcs1_sha1md5 case to getSignatureName, r=bustage
authorFranziskus Kiefer <franziskuskiefer@gmail.com>
Mon, 04 Sep 2017 15:24:03 +0200
changeset 378775 4badc1d24b23
parent 378774 ca6fb76e5158
child 378776 f9050764afce
push id94509
push userfranziskuskiefer@gmail.com
push dateMon, 04 Sep 2017 13:24:23 +0000
treeherdermozilla-inbound@4badc1d24b23 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1396463
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1396463 - add ssl_sig_rsa_pkcs1_sha1md5 case to getSignatureName, r=bustage MozReview-Commit-ID: 1SxJjt41NOj
security/manager/ssl/nsNSSCallbacks.cpp
--- a/security/manager/ssl/nsNSSCallbacks.cpp
+++ b/security/manager/ssl/nsNSSCallbacks.cpp
@@ -898,16 +898,19 @@ getSignatureName(uint32_t aSignatureSche
       signatureName = NS_LITERAL_CSTRING("RSA-PSS-SHA384");
       break;
     case ssl_sig_rsa_pss_sha512:
       signatureName = NS_LITERAL_CSTRING("RSA-PSS-SHA512");
       break;
     case ssl_sig_ecdsa_sha1:
       signatureName = NS_LITERAL_CSTRING("ECDSA-SHA1");
       break;
+    case ssl_sig_rsa_pkcs1_sha1md5:
+      signatureName = NS_LITERAL_CSTRING("RSA-PKCS1-SHA1MD5");
+      break;
     // All other groups are not enabled in Firefox. See sEnabledSignatureSchemes
     // in nsNSSIOLayer.cpp.
     default:
       // This really shouldn't happen!
       MOZ_ASSERT_UNREACHABLE("Invalid signature scheme.");
       signatureName = NS_LITERAL_CSTRING("unknown signature");
   }
   return signatureName;