util/mkerr.pl: make it not depend on the function code
[openssl.git] / crypto / bio / bio_err.c
index 69f8d6470567a351911117acf4b031231e9dc977..178fdd6a79616e2e24bcaa53620fcf56e41492c5 100644 (file)
@@ -76,7 +76,7 @@ static const ERR_STRING_DATA BIO_str_reasons[] = {
 int ERR_load_BIO_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
-    if (ERR_func_error_string(BIO_str_reasons[0].error) == NULL)
+    if (ERR_reason_error_string(BIO_str_reasons[0].error) == NULL)
         ERR_load_strings_const(BIO_str_reasons);
 #endif
     return 1;