]> git.proxmox.com Git - efi-boot-shim.git/blobdiff - Cryptlib/OpenSSL/crypto/conf/conf_lib.c
New upstream version 15.3
[efi-boot-shim.git] / Cryptlib / OpenSSL / crypto / conf / conf_lib.c
index 952b545240575247915c0c711d35c3c4dd2dd044..b3b29adb328993480f09ec4ac9074cf0cbabf9a5 100644 (file)
@@ -340,6 +340,9 @@ int NCONF_get_number_e(const CONF *conf, const char *group, const char *name,
         return 0;
     }
 
+    if (conf == NULL)
+        return 0;
+
     str = NCONF_get_string(conf, group, name);
 
     if (str == NULL)