X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=util%2Fmkerr.pl;h=b744c81d6b970a359b0012808420a102cf7dae77;hb=226cc7ded421041f561215a8e3f25e48a0574d6c;hp=7d98b5234d91026c31cbebc9e784ceaeec5f8c3a;hpb=f6cd2d38c05be67f03687118f37e9ae8daaf8a67;p=openssl.git diff --git a/util/mkerr.pl b/util/mkerr.pl index 7d98b5234d..b744c81d6b 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -38,7 +38,7 @@ while (@ARGV) { } if($recurse) { - @source = (, , , ); + @source = (, , ); } else { @source = @ARGV; } @@ -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