mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-24 12:04:38 +00:00
fixup! Handle DS records for unsupported crypto algorithms.
This commit is contained in:
1 parent
142456cfd0
commit
02f8754339
1 file changed
+1
-1
+1
-1
@@ -1068,7 +1068,7 @@ int dnssec_validate_ds(time_t now, struct dns_header *header, size_t plen, char
|
||||
algo = *p++;
|
||||
digest = *p++;
|
||||
|
||||
if (!ds_digest_name(digest) || !ds_digest_name(digest))
|
||||
if (!ds_digest_name(digest) || !algo_digest_name(algo))
|
||||
{
|
||||
a.log.keytag = keytag;
|
||||
a.log.algo = algo;
|
||||
|
||||
Reference in new issue
Block a user