mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix zonemd unsupported algo check reason to not copy to next record,
and check for success for debug printout.
This commit is contained in:
parent
730a03e9bd
commit
8f2847ba69
2 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
||||||
and no failed or successful other ZONEMD records, or malformed
|
and no failed or successful other ZONEMD records, or malformed
|
||||||
or bad ZONEMD records, the unsupported records allow the zone load.
|
or bad ZONEMD records, the unsupported records allow the zone load.
|
||||||
- Fix zonemd unsupported algo check.
|
- Fix zonemd unsupported algo check.
|
||||||
|
- Fix zonemd unsupported algo check reason to not copy to next record,
|
||||||
|
and check for success for debug printout.
|
||||||
|
|
||||||
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.
|
||||||
|
|
|
||||||
|
|
@ -1938,6 +1938,7 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z,
|
||||||
if(*reason) {
|
if(*reason) {
|
||||||
if(!unsupported_reason)
|
if(!unsupported_reason)
|
||||||
unsupported_reason = *reason;
|
unsupported_reason = *reason;
|
||||||
|
*reason = NULL;
|
||||||
/* continue to check for valid ZONEMD */
|
/* continue to check for valid ZONEMD */
|
||||||
if(verbosity >= VERB_ALGO) {
|
if(verbosity >= VERB_ALGO) {
|
||||||
char zstr[255+1];
|
char zstr[255+1];
|
||||||
|
|
@ -1949,7 +1950,7 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z,
|
||||||
if(verbosity >= VERB_ALGO) {
|
if(verbosity >= VERB_ALGO) {
|
||||||
char zstr[255+1];
|
char zstr[255+1];
|
||||||
dname_str(z->name, zstr);
|
dname_str(z->name, zstr);
|
||||||
if(!reason)
|
if(!*reason)
|
||||||
verbose(VERB_ALGO, "auth-zone %s ZONEMD hash is correct", zstr);
|
verbose(VERB_ALGO, "auth-zone %s ZONEMD hash is correct", zstr);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue