From: Richard Levitte Date: Fri, 18 Sep 2020 09:00:31 +0000 (+0200) Subject: util/mkerr.h: Restore header file rename X-Git-Tag: openssl-3.0.0-alpha7~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a5f5b39c54751c825c05677e23406eda37d16b;p=thirdparty%2Fopenssl.git util/mkerr.h: Restore header file rename With '-internal', we commonly write the reason code macros to header file renamed 'name.h' to 'nameerr.h'. That renaming was removed by mistake, this restores it. Fixes #12891 Reviewed-by: Dmitry Belyavskiy Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/12910) --- diff --git a/util/mkerr.pl b/util/mkerr.pl index 16ca06ef836..0c7ae7b56d4 100755 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -437,6 +437,7 @@ foreach my $lib ( keys %errorfile ) { # Rewrite the header file my $hfile = $hinc{$lib}; + $hfile =~ s/.h$/err.h/ if $internal; open( OUT, ">$hfile" ) || die "Can't write to $hfile, $!,"; print OUT <<"EOF"; /*