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