Skip to content

Commit

Permalink
Don't trip over revoked flag
Browse files Browse the repository at this point in the history
  • Loading branch information
yschaeff committed Oct 13, 2014
1 parent dd75b6c commit fa926c3
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 @@ -30,7 +30,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 fa926c3

Please sign in to comment.