From 9ce28dd1e1b91ee4f8a2be74c09c5f49d895de87 Mon Sep 17 00:00:00 2001 From: Casper Gielen Date: Wed, 15 Jul 2015 11:22:12 +0200 Subject: [PATCH] Support Ed25519 in SSHFP Resource Records (RFC 7479) --- sshfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshfp.c b/sshfp.c index 8c905a5..66a2d92 100644 --- a/sshfp.c +++ b/sshfp.c @@ -24,7 +24,7 @@ static struct rr* sshfp_parse(char *name, long ttl, int type, char *s) algorithm = extract_integer(&s, "algorithm"); if (algorithm < 0) return NULL; - if (algorithm != 1 && algorithm != 2 && algorithm != 3) + if (algorithm != 1 && algorithm != 2 && algorithm != 3 && algorithm != 4) return bitch("unsupported algorithm"); rr->algorithm = algorithm;