From f4a96507fb880d5f5a707c138388cb8b5b1ba8c8 Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Tue, 28 May 2019 14:29:59 +0200 Subject: [PATCH] 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) --- crypto/conf/conf_sap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index 3994a86395..921ff77085 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; -- 2.34.1