The new init functions can now fail so shouldn't be void
[openssl.git] / crypto / err / err.c
index 7e8bcc1cce1b61dd008c293fc8e77b4ab9d458ab..72656339c564205aca582db5bc124e5a1689854a 100644 (file)
@@ -894,9 +894,9 @@ ERR_STATE *ERR_get_state(void)
          * the first one that we just replaced.
          */
         ERR_STATE_free(tmpp);
-        OPENSSL_INIT_crypto_library_start(OPENSSL_INIT_LOAD_CRYPTO_STRINGS,
-                                          NULL);
-        /* Ignore failures from this */
+
+        /* Ignore failures from these */
+        OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
         ossl_init_thread_start(OPENSSL_INIT_THREAD_ERR_STATE);
     }
     return ret;