mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
fixup! Handle DS records for unsupported crypto algorithms.
This commit is contained in:
committed by
Simon Kelley
parent
142456cfd0
commit
02f8754339
@@ -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