Skip to content

Commit

Permalink
Merge pull request #38 from yschaeff/rfc5011
Browse files Browse the repository at this point in the history
Don't trip over revoked flag
  • Loading branch information
tobez committed Jul 20, 2015
2 parents 859f7b4 + fa926c3 commit 60c842b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnskey.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static struct rr* dnskey_parse(char *name, long ttl, int type, char *s)

flags = extract_integer(&s, "flags");
if (flags < 0) return NULL;
if (flags & 0xfefe)
if (flags & 0xfe7e)
return bitch("reserved flags bits are set");
if (flags & 0x0001 && !(flags & 0x0100))
return bitch("SEP bit is set but Zone Key bit is unset");
Expand Down

0 comments on commit 60c842b

Please sign in to comment.