Commit 23373fea authored by Dr. Matthias St. Pierre's avatar Dr. Matthias St. Pierre Committed by Shane Lontis
Browse files

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: default avatarTim Hudson <tjh@openssl.org>
Reviewed-by: default avatarShane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9029)

(cherry picked from commit f4a96507fb880d5f5a707c138388cb8b5b1ba8c8)
parent 2671490d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;