From: Fred Morcos Date: Fri, 1 Apr 2022 08:20:46 +0000 (+0200) Subject: Test data for EDDSA PEM import and export X-Git-Tag: auth-4.8.0-alpha0~124^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=106dda34b8da86ad83c5d51c60d6ed3511002236;p=thirdparty%2Fpdns.git Test data for EDDSA PEM import and export --- diff --git a/pdns/test-signers.cc b/pdns/test-signers.cc index 364017d58c..f4ee0a18ad 100644 --- a/pdns/test-signers.cc +++ b/pdns/test-signers.cc @@ -149,7 +149,14 @@ static const std::array signers DNSSECKeeper::ED25519, true, +#if defined(HAVE_LIBCRYPTO_ED25519) + std::make_optional(std::string{ + "-----BEGIN PRIVATE KEY-----\n" + "MC4CAQAwBQYDK2VwBCIEIDgyMjYwMzg0NjI4MDgwMTIyNjQ1MTkwMjA0MTQyMjYy\n" + "-----END PRIVATE KEY-----\n"})}, +#else std::nullopt}, +#endif /* defined(HAVE_LIBCRYPTO_ED25519) */ #endif /* defined(HAVE_LIBSODIUM) || defined(HAVE_LIBDECAF) || defined(HAVE_LIBCRYPTO_ED25519) */ };