util/mkerr.pl: make it not depend on the function code
[oweals/openssl.git] / crypto / evp / evp_err.c
index 63174f98f62c8c86972262d2cc18cad412b2fd83..b74b87e4f5b3b74cd32e859fd181106495d5c800 100644 (file)
@@ -161,7 +161,7 @@ static const ERR_STRING_DATA EVP_str_reasons[] = {
 int ERR_load_EVP_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
-    if (ERR_func_error_string(EVP_str_reasons[0].error) == NULL)
+    if (ERR_reason_error_string(EVP_str_reasons[0].error) == NULL)
         ERR_load_strings_const(EVP_str_reasons);
 #endif
     return 1;