util/mkerr.pl: make it not depend on the function code
[openssl.git] / crypto / rand / rand_err.c
index fa6be1ea80afdfd685ac7c515e1a1f607b7e3966..53d329380a0897a11c35e91fb107b9e65af42c95 100644 (file)
@@ -89,7 +89,7 @@ static const ERR_STRING_DATA RAND_str_reasons[] = {
 int ERR_load_RAND_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
-    if (ERR_func_error_string(RAND_str_reasons[0].error) == NULL)
+    if (ERR_reason_error_string(RAND_str_reasons[0].error) == NULL)
         ERR_load_strings_const(RAND_str_reasons);
 #endif
     return 1;