Correct the checks of module availability in provider test programs
authorRichard Levitte <levitte@openssl.org>
Sun, 31 Mar 2019 13:26:26 +0000 (15:26 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 2 Apr 2019 05:30:07 +0000 (07:30 +0200)
commit521b7cb3883605740fb4727120f18810ba47d50b
tree20007803ac107b1b8503343ba1d86ed3d16ea589
parent34786bdee0b2af74a84a32ca32bb1c2c256e6014
Correct the checks of module availability in provider test programs

Previously, the macro OPENSSL_NO_SHARED was defined of the test/p_test
module wasn't built, but the provider test programs didn't check that
macro.  We rename it to OPENSSL_NO_MODULE, since that name describes
the situation more than OPENSSL_NO_SHARED does, and use it.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8623)
test/build.info
test/provider_internal_test.c
test/provider_test.c