Remove unused support for fromwire(DNS_NAME_DOWNCASE)

Most of this change is fixing dns_rdata_fromwire() so
it does not propagate the unused options variable.
This commit is contained in:
Tony Finch
2022-11-09 17:10:59 +00:00
committed by Tony Finch
parent ecd428240b
commit 50ab648f8a
89 changed files with 72 additions and 115 deletions

View File

@@ -72,7 +72,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
isc_buffer_add(&new_buf, size);
isc_buffer_setactive(&new_buf, size);
isc_buffer_forward(&new_buf, size / 2);
new_result = dns_name_fromwire(new_name, &new_buf, dctx, 0, NULL);
new_result = dns_name_fromwire(new_name, &new_buf, dctx, NULL);
isc_buffer_constinit(&old_buf, data, size);
isc_buffer_add(&old_buf, size);

View File

@@ -145,7 +145,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
* reading a packet)
*/
CHECK(dns_rdata_fromwire(&rdata1, rdclass, rdtype, &source,
DNS_DECOMPRESS_NEVER, 0, &target));
DNS_DECOMPRESS_NEVER, &target));
assert(rdata1.length == size);
/*