Fix no-des
Don't attempt to self-test DES in the FIPS provider if we have been built without FIPS support. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11034)master
parent
709b5e8a3e
commit
e89ffd23c3
|
@ -141,6 +141,7 @@ static const unsigned char aes_256_gcm_tag[] = {
|
|||
};
|
||||
|
||||
static const ST_KAT_CIPHER st_kat_cipher_tests[] = {
|
||||
#ifndef OPENSSL_NO_DES
|
||||
{
|
||||
{
|
||||
OSSL_SELF_TEST_DESC_CIPHER_TDES,
|
||||
|
@ -151,6 +152,7 @@ static const ST_KAT_CIPHER st_kat_cipher_tests[] = {
|
|||
ITM(des_ede3_cbc_key),
|
||||
ITM(des_ede3_cbc_iv),
|
||||
},
|
||||
#endif
|
||||
{
|
||||
{
|
||||
OSSL_SELF_TEST_DESC_CIPHER_AES_GCM,
|
||||
|
|
Loading…
Reference in New Issue