Fix setting of ssl_strings_inited.
authorRich Salz <rsalz@openssl.org>
Tue, 7 Aug 2018 19:08:03 +0000 (15:08 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 7 Aug 2018 19:08:03 +0000 (15:08 -0400)
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)

ssl/ssl_init.c

index ed2bf845d40939878542a37f51420a487d7bca35..c0ccb9304a636cea64f7d1430a43148e5a6dbcec 100644 (file)
@@ -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;
 }