summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_init.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2018-08-07 21:08:03 +0200
committerRich Salz <rsalz@openssl.org>2018-08-07 21:08:03 +0200
commit10281e83eac0fb96de3f14855154197aa33bb800 (patch)
tree3cd3e1672013d930cb515e5948bd2060e7cac333 /ssl/ssl_init.c
parentCheck early that the config target exists and isn't a template (diff)
downloadopenssl-10281e83eac0fb96de3f14855154197aa33bb800.tar.xz
openssl-10281e83eac0fb96de3f14855154197aa33bb800.zip
Fix setting of ssl_strings_inited.
Thanks to GitHub user zsergey105 for reporting this. Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/6875)
Diffstat (limited to 'ssl/ssl_init.c')
-rw-r--r--ssl/ssl_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_init.c b/ssl/ssl_init.c
index ed2bf845d4..c0ccb9304a 100644
--- a/ssl/ssl_init.c
+++ b/ssl/ssl_init.c
@@ -129,8 +129,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;
}