- Fix zonemd unsupported algo check.

This commit is contained in:
W.C.A. Wijngaards 2022-04-08 09:36:01 +02:00
parent e4ca71e85b
commit 730a03e9bd
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
If there are only unsupported algorithms, or unsupported schemes, If there are only unsupported algorithms, or unsupported schemes,
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.
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.

View file

@ -1946,7 +1946,6 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z,
} }
continue; continue;
} }
only_unsupported = 0;
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);
@ -1955,6 +1954,7 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z,
} }
return 1; return 1;
} }
only_unsupported = 0;
/* try next one */ /* try next one */
} }
/* have we seen no failures but only unsupported algo, /* have we seen no failures but only unsupported algo,