Do not set load_crypto_strings_inited when OPENSSL_NO_ERR is defined
[openssl.git] / crypto / init.c
index 9af857b3f62f9fbaf39f052064e1e3907af682fe..7423eccb1b326c771043097a2300f0f9cf3a10a2 100644 (file)
@@ -103,8 +103,8 @@ DEFINE_RUN_ONCE_STATIC(ossl_init_load_crypto_strings)
                     "err_load_crypto_strings_int()\n");
 # endif
     ret = err_load_crypto_strings_int();
-#endif
     load_crypto_strings_inited = 1;
+#endif    
     return ret;
 }