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

96beb5
diff -up openssl-1.0.1e/crypto/asn1/a_type.c.bool-cmp openssl-1.0.1e/crypto/asn1/a_type.c
96beb5
--- openssl-1.0.1e/crypto/asn1/a_type.c.bool-cmp	2015-03-18 13:02:36.000000000 +0100
96beb5
+++ openssl-1.0.1e/crypto/asn1/a_type.c	2015-03-18 14:38:07.111401390 +0100
96beb5
@@ -124,6 +124,9 @@ int ASN1_TYPE_cmp(const ASN1_TYPE *a, co
96beb5
 	case V_ASN1_OBJECT:
96beb5
 		result = OBJ_cmp(a->value.object, b->value.object);
96beb5
 		break;
96beb5
+	case V_ASN1_BOOLEAN:
96beb5
+		result = a->value.boolean - b->value.boolean;
96beb5
+		break;
96beb5
 	case V_ASN1_NULL:
96beb5
 		result = 0;	/* They do not have content. */
96beb5
 		break;