From 28a5f5b39c54751c825c05677e23406eda37d16b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 18 Sep 2020 11:00:31 +0200 Subject: [PATCH] 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) --- util/mkerr.pl | 1 + 1 file changed, 1 insertion(+) 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"; /* -- 2.47.2