From: Dr. Matthias St. Pierre Date: Tue, 28 May 2019 12:29:59 +0000 (+0200) Subject: crypto/conf: openssl_config_int() returns unitialized value X-Git-Tag: OpenSSL_1_1_1d~166 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=23373fea190e7e2f4342d9656afdbcf909600445;p=oweals%2Fopenssl.git crypto/conf: openssl_config_int() returns unitialized value openssl_config_int() returns the uninitialized variable `ret` when compiled with OPENSSL_SYS_UEFI. Fixes #9026 Reviewed-by: Tim Hudson Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/9029) (cherry picked from commit f4a96507fb880d5f5a707c138388cb8b5b1ba8c8) --- diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index 3805c426d8..82105de748 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -42,7 +42,7 @@ void OPENSSL_config(const char *appname) int openssl_config_int(const OPENSSL_INIT_SETTINGS *settings) { - int ret; + int ret = 0; const char *filename; const char *appname; unsigned long flags;