Blame SOURCES/openssl-1.1.1-regression-fixes.patch

acdedc
diff -up openssl-1.1.1b/crypto/conf/conf_lib.c.regression openssl-1.1.1b/crypto/conf/conf_lib.c
acdedc
--- openssl-1.1.1b/crypto/conf/conf_lib.c.regression	2019-02-26 15:15:30.000000000 +0100
acdedc
+++ openssl-1.1.1b/crypto/conf/conf_lib.c	2019-05-10 14:28:57.718049429 +0200
acdedc
@@ -356,8 +356,10 @@ OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(
acdedc
 {
acdedc
     OPENSSL_INIT_SETTINGS *ret = malloc(sizeof(*ret));
acdedc
 
acdedc
-    if (ret != NULL)
acdedc
-        memset(ret, 0, sizeof(*ret));
acdedc
+    if (ret == NULL)
acdedc
+        return NULL;
acdedc
+
acdedc
+    memset(ret, 0, sizeof(*ret));
acdedc
     ret->flags = DEFAULT_CONF_MFLAGS;
acdedc
 
acdedc
     return ret;