util/mkerr.pl: make it not depend on the function code
[openssl.git] / crypto / ts / ts_err.c
index b0203153a6c3e820fd8e5eef40da5eceb673b1dc..e87c492686c6c79a80649fd96b2272d22c2ca515 100644 (file)
@@ -78,7 +78,7 @@ static const ERR_STRING_DATA TS_str_reasons[] = {
 int ERR_load_TS_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
-    if (ERR_func_error_string(TS_str_reasons[0].error) == NULL)
+    if (ERR_reason_error_string(TS_str_reasons[0].error) == NULL)
         ERR_load_strings_const(TS_str_reasons);
 #endif
     return 1;