Add some testing for the case where the FIPS provider fails to load
authorMatt Caswell <matt@openssl.org>
Tue, 27 Jul 2021 15:36:41 +0000 (16:36 +0100)
committerPauli <pauli@openssl.org>
Wed, 28 Jul 2021 00:35:06 +0000 (10:35 +1000)
commitca7cac886b0f1084acfe2e07135acd212415e2bd
treeb4a4015ebcca2bdc158544456b0d762499f6c009
parent589fbc18aa5e72b2574a71d69c09b4f63f0ae943
Add some testing for the case where the FIPS provider fails to load

Ensure we get correct behaviour in the event that an attempt is made
to load the fips provider but it fails to load.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16168)
test/defltfips_test.c
test/fips-alt.cnf [new file with mode: 0644]
test/recipes/30-test_defltfips.t
test/recipes/30-test_defltfips/fipsmodule.cnf [new file with mode: 0644]