diff options
author | Pauli <pauli@openssl.org> | 2021-04-22 02:05:47 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-23 11:27:58 +0200 |
commit | e98a182e51e14643c273319cc63bd22c60d8878f (patch) | |
tree | ecf386faeaa0ad25295a509ff9467d5e07d0a68d /test/evp_kdf_test.c | |
parent | Runchecker fix for the no-autoerrinit build (diff) | |
download | openssl-e98a182e51e14643c273319cc63bd22c60d8878f.tar.xz openssl-e98a182e51e14643c273319cc63bd22c60d8878f.zip |
test: fix test_evp_kdf when DES is disabled.
Fixes #14958
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14975)
Diffstat (limited to 'test/evp_kdf_test.c')
-rw-r--r-- | test/evp_kdf_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/evp_kdf_test.c b/test/evp_kdf_test.c index 0c1de95f95..cc172db42e 100644 --- a/test/evp_kdf_test.c +++ b/test/evp_kdf_test.c @@ -1291,7 +1291,7 @@ static int test_kdf_get_kdf(void) return ok; } -#ifndef OPENSSL_NO_CMS +#if !defined(OPENSSL_NO_CMS) && !defined(OPENSSL_NO_DES) static int test_kdf_x942_asn1(void) { int ret; @@ -1409,7 +1409,7 @@ int setup_tests(void) ADD_TEST(test_kdf_ss_kmac); ADD_TEST(test_kdf_sshkdf); ADD_TEST(test_kdf_x963); -#ifndef OPENSSL_NO_CMS +#if !defined(OPENSSL_NO_CMS) && !defined(OPENSSL_NO_DES) ADD_TEST(test_kdf_x942_asn1); #endif ADD_TEST(test_kdf_krb5kdf); |