mkerr.pl: When writing internal FOOerr.h, pay attention to disablable modules
authorRichard Levitte <levitte@openssl.org>
Wed, 7 Feb 2018 18:23:39 +0000 (19:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 7 Feb 2018 21:16:44 +0000 (22:16 +0100)
commitcb7b7275683655537c63e42b5e3ef3d7045e4104
tree13f06a736e7ad3da9cc2e935a61f77056300e3c6
parent3a7141df8768e797f42ed14027e974ea845aa20f
mkerr.pl: When writing internal FOOerr.h, pay attention to disablable modules

If a module is disablable (i.e. can be configured with 'no-FOO'), the
resulting header file needs to be guarded with a check of the
corresponding OPENSSL_NO_FOO.  While this seem fairly innocuous, it
has an impact on the information in util/*.num, generated by mkdef.pl.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5275)
Configurations/unix-Makefile.tmpl
util/mkerr.pl