Skip to content

Commit

Permalink
Revert "Remove conditional FIPS dependence for 3DES"
Browse files Browse the repository at this point in the history
This reverts commit 464c101.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #19631)
  • Loading branch information
paulidale authored and t8m committed Nov 10, 2022
1 parent c69cf38 commit ccc860a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/evp_libctx_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,14 +745,8 @@ 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
if (!OSSL_PROVIDER_available(libctx, "fips"))
ADD_TEST(test_cipher_tdes_randkey);
ADD_TEST(test_cipher_tdes_randkey);
#endif
return 1;
}
Expand Down

0 comments on commit ccc860a

Please sign in to comment.