Blame SOURCES/nss-fix-signature-and-hash.patch

1b6f66
diff -up ./nss/lib/ssl/ssl3con.c.fixSignatureAndHash ./nss/lib/ssl/ssl3con.c
1b6f66
--- ./nss/lib/ssl/ssl3con.c.fixSignatureAndHash	2016-02-24 20:06:36.697164368 -0500
1b6f66
+++ ./nss/lib/ssl/ssl3con.c	2016-02-24 20:09:19.690055466 -0500
1b6f66
@@ -4474,8 +4474,8 @@ ssl3_AppendSignatureAndHashAlgorithm(
1b6f66
     sslSocket *ss, const SSLSignatureAndHashAlg* sigAndHash)
1b6f66
 {
1b6f66
     PRUint8 serialized[2];
1b6f66
-    unsigned char hashAlg = ssl3_OIDToTLSHashAlgorithm(sigAndHash->hashAlg);
1b6f66
-    if (hashAlg == 0) {
1b6f66
+    SECOidTag hashAlg = ssl3_TLSHashAlgorithmToOID(sigAndHash->hashAlg);
1b6f66
+    if (hashAlg == SEC_OID_UNKNOWN) {
1b6f66
 	PORT_SetError(SSL_ERROR_UNSUPPORTED_HASH_ALGORITHM);
1b6f66
 	return SECFailure;
1b6f66
     }