From: W.C.A. Wijngaards Date: Fri, 8 Apr 2022 07:36:01 +0000 (+0200) Subject: - Fix zonemd unsupported algo check. X-Git-Tag: release-1.16.0rc1~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=730a03e9bd9daa39b8028e7ec5cc64ea2b0b5df6;p=thirdparty%2Funbound.git - Fix zonemd unsupported algo check. --- diff --git a/doc/Changelog b/doc/Changelog index eee54dfeb..ba9926210 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ If there are only unsupported algorithms, or unsupported schemes, and no failed or successful other ZONEMD records, or malformed or bad ZONEMD records, the unsupported records allow the zone load. + - Fix zonemd unsupported algo check. 25 March 2022: Wouter - Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup. diff --git a/services/authzone.c b/services/authzone.c index 9b20c3a7b..c39ce9763 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -1946,7 +1946,6 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z, } continue; } - only_unsupported = 0; if(verbosity >= VERB_ALGO) { char zstr[255+1]; dname_str(z->name, zstr); @@ -1955,6 +1954,7 @@ static int auth_zone_zonemd_check_hash(struct auth_zone* z, } return 1; } + only_unsupported = 0; /* try next one */ } /* have we seen no failures but only unsupported algo,