Use build.info, not ifdef for crypto modules
authorRich Salz <rsalz@akamai.com>
Thu, 5 Mar 2020 17:50:31 +0000 (12:50 -0500)
committerRichard Levitte <levitte@openssl.org>
Thu, 16 Apr 2020 11:52:22 +0000 (13:52 +0200)
commit705536e2b5c4167dbda2e0046d83f9e0f4a65514
tree5b76e00908f3d8c5dcbb75f094a4c06d989e97d5
parent7165593ce5a07a6860d4d408ad640ee707172936
Use build.info, not ifdef for crypto modules

Don't wrap conditionally-compiled files in global ifndef tests.
Instead, test if the feature is disabled and, if so, do not
compile it.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11263)
25 files changed:
crypto/aes/aes_ige.c
crypto/aes/build.info
crypto/asn1/build.info
crypto/asn1/n_pkey.c
crypto/asn1/x_long.c
crypto/bn/bn_depr.c
crypto/bn/build.info
crypto/dh/build.info
crypto/dh/dh_depr.c
crypto/dsa/build.info
crypto/dsa/dsa_depr.c
crypto/ec/build.info
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c
crypto/ec/ecp_nistputil.c
crypto/evp/build.info
crypto/evp/e_camellia.c
crypto/evp/e_old.c
crypto/evp/e_seed.c
crypto/evp/p_open.c
crypto/rand/build.info
crypto/rand/rand_egd.c
crypto/rsa/build.info
crypto/rsa/rsa_depr.c