mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix zonemd unsupported algo check to set reason to NULL before the
check routine, but after malformed checks, to get the correct NULL output when the digest matches.
This commit is contained in:
parent
d02e83ae2b
commit
1289c53c1a
2 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,9 @@
|
||||||
and check for success for debug printout.
|
and check for success for debug printout.
|
||||||
- Fix zonemd unsupported algo check to print unsupported reason before
|
- Fix zonemd unsupported algo check to print unsupported reason before
|
||||||
zeroing it.
|
zeroing it.
|
||||||
|
- Fix zonemd unsupported algo check to set reason to NULL before the
|
||||||
|
check routine, but after malformed checks, to get the correct NULL
|
||||||
|
output when the digest matches.
|
||||||
|
|
||||||
25 March 2022: Wouter
|
25 March 2022: Wouter
|
||||||
- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.
|
- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.
|
||||||
|
|
|
||||||
|
|
@ -1932,6 +1932,7 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z,
|
||||||
only_unsupported = 0;
|
only_unsupported = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
*reason = NULL;
|
||||||
if(auth_zone_generate_zonemd_check(z, scheme, hashalgo,
|
if(auth_zone_generate_zonemd_check(z, scheme, hashalgo,
|
||||||
hash, hashlen, region, buf, reason)) {
|
hash, hashlen, region, buf, reason)) {
|
||||||
/* success */
|
/* success */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue