From a14a3f49feee16022c0fcec016afd6a77424f63f Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Fri, 29 Apr 2022 11:56:22 +0200 Subject: [PATCH] Fix signer tests for platforms (i.e. OpenSSL forks) without Ed25519 --- pdns/test-signers.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2