X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=util%2Fmkerr.pl;h=b744c81d6b970a359b0012808420a102cf7dae77;hp=407ca2031372549b39ca345003f2877c57fcc014;hb=226cc7ded421041f561215a8e3f25e48a0574d6c;hpb=ccb9643f02cbc57f2e88927ca8eef0189d92fc5a diff --git a/util/mkerr.pl b/util/mkerr.pl index 407ca20313..b744c81d6b 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -288,7 +288,6 @@ EOF } #endif #endif - EOF close OUT; @@ -382,7 +381,7 @@ EOF #include $hincf /* BEGIN ERROR CODES */ -#ifndef NO_ERR +#ifndef OPENSSL_NO_ERR static ERR_STRING_DATA ${lib}_str_functs[]= { EOF @@ -432,7 +431,7 @@ void ERR_load_${lib}_strings(void) if (init) { init=0; -#ifndef NO_ERR +#ifndef OPENSSL_NO_ERR ERR_load_strings(ERR_LIB_${lib},${lib}_str_functs); ERR_load_strings(ERR_LIB_${lib},${lib}_str_reasons); #endif @@ -468,7 +467,7 @@ void ERR_load_${lib}_strings(void) if (init) { init=0; -#ifndef NO_ERR +#ifndef OPENSSL_NO_ERR ERR_load_strings(${lib}_lib_error_code,${lib}_str_functs); ERR_load_strings(${lib}_lib_error_code,${lib}_str_reasons); #endif