mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-19 11:19:34 +00:00
Skip non-signing keys
This commit is contained in:
1 parent
4137b84e4e
commit
0d829ebc69
1 file changed
+3
@@ -299,6 +299,9 @@ int dnssec_parsekey(struct dns_header *header, size_t pktlen, char *owner, unsig
|
||||
|
||||
if (proto != 3)
|
||||
return 0;
|
||||
/* Skip non-signing keys (as specified in RFC4034 */
|
||||
if (!(flags & 0x100))
|
||||
return 0;
|
||||
|
||||
switch (alg)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user