summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-09-18 11:00:31 +0200
committerRichard Levitte <levitte@openssl.org>2020-09-19 13:22:29 +0200
commit28a5f5b39c54751c825c05677e23406eda37d16b (patch)
tree51dbae60fbd007775284f74bdda282420ee672c7 /util
parent7889e7aef821c0c9917188d59f53253645c07928 (diff)
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 <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12910)
Diffstat (limited to 'util')
-rwxr-xr-xutil/mkerr.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 16ca06ef83..0c7ae7b56d 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";
/*