summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-04-13 23:09:45 +0200
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-04-15 10:05:42 +0200
commit9bf475fcf366c386d8757c6c6fd9f9313a0b310a (patch)
tree232dbd3b64fc5a3ec11586a3a3887131b1b68985 /util
parentff1f7cdeb159e89ce305422b6e2a7e4002d825ab (diff)
mkerr: remove legacy guards from generated error headers
In pull request #9333, legacy guards were added to the generated error headers, but the mkerr.pl script was not adjusted accordingly. So the legacy guards were removed by subsequent `make update` calls. Fixing the mkerr.pl script properly was disproportionately complicated by the fact that adding legacy guards only made sense for files which already existed in version 1.1.1. To keep things simple, it was decided to drop the legacy guards from the generated headers entirely. Fixes #10569 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11541)
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 3f59e04e1a..48c5b37e91 100755
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -450,6 +450,7 @@ foreach my $lib ( keys %errorfile ) {
#ifndef OPENSSL_${lib}ERR_H
# define OPENSSL_${lib}ERR_H
+# pragma once
# include <openssl/opensslconf.h>
# include <openssl/symhacks.h>