From: Daniel Salzman Date: Wed, 5 Feb 2020 08:58:12 +0000 (+0100) Subject: conf: hide ed25519 and ed448 algorithm values if not supported X-Git-Tag: embedded_lmdb~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1453f5ed06b1acd7f8a58c4e5a1da354d28e69;p=thirdparty%2Fknot-dns.git conf: hide ed25519 and ed448 algorithm values if not supported --- diff --git a/src/knot/conf/schema.c b/src/knot/conf/schema.c index 73869f975a..3689905b4b 100644 --- a/src/knot/conf/schema.c +++ b/src/knot/conf/schema.c @@ -63,8 +63,12 @@ static const knot_lookup_t dnssec_key_algs[] = { { DNSSEC_KEY_ALGORITHM_RSA_SHA512, "rsasha512" }, { DNSSEC_KEY_ALGORITHM_ECDSA_P256_SHA256, "ecdsap256sha256" }, { DNSSEC_KEY_ALGORITHM_ECDSA_P384_SHA384, "ecdsap384sha384" }, +#ifdef HAVE_ED25519 { DNSSEC_KEY_ALGORITHM_ED25519, "ed25519" }, +#endif +#ifdef HAVE_ED448 { DNSSEC_KEY_ALGORITHM_ED448, "ed448" }, +#endif { 0, NULL } };