summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-05-28 14:29:59 +0200
committerShane Lontis <shane.lontis@oracle.com>2019-05-29 10:41:47 +1000
commitf4a96507fb880d5f5a707c138388cb8b5b1ba8c8 (patch)
tree26e526303b2a84e833fbfab7921177205d858003 /crypto/conf
parentea8d07b155d26abb52574a1c1366b662a27ffbed (diff)
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 <tjh@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9029)
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf_sap.c2
1 files changed, 1 insertions, 1 deletions
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;