From: Fred Morcos Date: Fri, 29 Apr 2022 09:56:22 +0000 (+0200) Subject: Fix signer tests for platforms (i.e. OpenSSL forks) without Ed25519 X-Git-Tag: auth-4.8.0-alpha0~117^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a14a3f49feee16022c0fcec016afd6a77424f63f;p=thirdparty%2Fpdns.git Fix signer tests for platforms (i.e. OpenSSL forks) without Ed25519 --- diff --git a/pdns/test-signers.cc b/pdns/test-signers.cc index 9b0b7586a0..6aa72f091e 100644 --- a/pdns/test-signers.cc +++ b/pdns/test-signers.cc @@ -266,7 +266,8 @@ struct Fixture addSignerParams(DNSSECKeeper::ECDSA256, "ECDSA SHA256", ecdsaSha256); #endif - #if defined(HAVE_LIBSODIUM) || defined(HAVE_LIBDECAF) || defined(HAVE_LIBCRYPTO_ED25519) + // We need to have HAVE_LIBCRYPTO_ED25519 for the PEM reader/writer. + #if defined(HAVE_LIBCRYPTO_ED25519) addSignerParams(DNSSECKeeper::ED25519, "ED25519", ed25519); #endif