From: Rich Salz Date: Tue, 7 Aug 2018 19:08:03 +0000 (-0400) Subject: Fix setting of ssl_strings_inited. X-Git-Tag: OpenSSL_1_1_0i~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f48e0ef1144c647a3159a71db114598d8fb6adc9;p=oweals%2Fopenssl.git Fix setting of ssl_strings_inited. Thanks to GitHub user zsergey105 for reporting this. Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/6875) (cherry picked from commit 10281e83eac0fb96de3f14855154197aa33bb800) --- diff --git a/ssl/ssl_init.c b/ssl/ssl_init.c index c91e1c56e2..0b9155d926 100644 --- a/ssl/ssl_init.c +++ b/ssl/ssl_init.c @@ -127,8 +127,8 @@ DEFINE_RUN_ONCE_STATIC(ossl_init_load_ssl_strings) "ERR_load_SSL_strings()\n"); # endif ERR_load_SSL_strings(); -#endif ssl_strings_inited = 1; +#endif return 1; }