mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Remove conditional FIPS dependence for 3DES
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/19510)
This commit is contained in:
parent
c511953a08
commit
464c1011b0
@ -745,8 +745,14 @@ int setup_tests(void)
|
||||
#ifndef OPENSSL_NO_DH
|
||||
ADD_TEST(kem_invalid_keytype);
|
||||
#endif
|
||||
/*
|
||||
* The FIPS provider doesn't have 3DES, so we skip this test if
|
||||
* FIPS is available. It's not perfect because FIPS + default might be
|
||||
* loaded but it's good enough.
|
||||
*/
|
||||
#ifndef OPENSSL_NO_DES
|
||||
ADD_TEST(test_cipher_tdes_randkey);
|
||||
if (!OSSL_PROVIDER_available(libctx, "fips"))
|
||||
ADD_TEST(test_cipher_tdes_randkey);
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user