mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-26 17:42:29 +02:00
- Fix zonemd unsupported algo check.
This commit is contained in:
@@ -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.
|
||||
|
||||
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user