Skip to content

Commit

Permalink
Merge pull request #43 from CAPSLOCK2000/master
Browse files Browse the repository at this point in the history
Support Ed25519 in SSHFP Resource Records (RFC 7479)
  • Loading branch information
tobez committed Jul 15, 2015
2 parents 69f4f30 + 9ce28dd commit 859f7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sshfp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 859f7b4

Please sign in to comment.