mkerr: remove legacy guards from generated error headers
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Mon, 13 Apr 2020 21:09:45 +0000 (23:09 +0200)
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Wed, 15 Apr 2020 08:05:42 +0000 (10:05 +0200)
commit9bf475fcf366c386d8757c6c6fd9f9313a0b310a
tree232dbd3b64fc5a3ec11586a3a3887131b1b68985
parentff1f7cdeb159e89ce305422b6e2a7e4002d825ab
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)
29 files changed:
include/openssl/asn1err.h
include/openssl/asyncerr.h
include/openssl/bioerr.h
include/openssl/bnerr.h
include/openssl/buffererr.h
include/openssl/cmserr.h
include/openssl/comperr.h
include/openssl/conferr.h
include/openssl/cryptoerr.h
include/openssl/cterr.h
include/openssl/dherr.h
include/openssl/dsaerr.h
include/openssl/ecerr.h
include/openssl/engineerr.h
include/openssl/kdferr.h
include/openssl/objectserr.h
include/openssl/ocsperr.h
include/openssl/pemerr.h
include/openssl/pkcs12err.h
include/openssl/pkcs7err.h
include/openssl/randerr.h
include/openssl/rsaerr.h
include/openssl/sslerr.h
include/openssl/storeerr.h
include/openssl/tserr.h
include/openssl/uierr.h
include/openssl/x509err.h
include/openssl/x509v3err.h
util/mkerr.pl