Blame SOURCES/openssl-1.0.1e-cve-2015-3194.patch

a2b5a9
diff -up openssl-1.0.1e/crypto/rsa/rsa_ameth.c.pss-check openssl-1.0.1e/crypto/rsa/rsa_ameth.c
a2b5a9
--- openssl-1.0.1e/crypto/rsa/rsa_ameth.c.pss-check	2013-02-11 16:26:04.000000000 +0100
a2b5a9
+++ openssl-1.0.1e/crypto/rsa/rsa_ameth.c	2015-12-04 09:03:18.300660817 +0100
a2b5a9
@@ -287,7 +287,7 @@ static RSA_PSS_PARAMS *rsa_pss_decode(co
a2b5a9
 		{
a2b5a9
 		ASN1_TYPE *param = pss->maskGenAlgorithm->parameter;
a2b5a9
 		if (OBJ_obj2nid(pss->maskGenAlgorithm->algorithm) == NID_mgf1
a2b5a9
-			&& param->type == V_ASN1_SEQUENCE)
a2b5a9
+			&& param && param->type == V_ASN1_SEQUENCE)
a2b5a9
 			{
a2b5a9
 			p = param->value.sequence->data;
a2b5a9
 			plen = param->value.sequence->length;