For DNSKEY and RRSIG as per RFC 4034, A.1.1. Private Algorithm Types
For KEY, SIG as per RFC 2535 3.2 The KEY Algorithm Number Specification,
which only allowed local domain compression which itself is no
longer allowed.
Other key types inherit from these or the general proscription that
compression is not allow in new types.
dns_name_t *name = dns_fixedname_initname(&fixed);
isc_result_t result;
- result = dns_name_fromwire(name, buffer, DNS_DECOMPRESS_DEFAULT, NULL);
+ result = dns_name_fromwire(name, buffer, DNS_DECOMPRESS_NEVER, NULL);
if (result != ISC_R_SUCCESS) {
return 0;
}
dns_fixedname_t fixed;
RETERR(dns_name_fromwire(dns_fixedname_initname(&fixed), source,
- DNS_DECOMPRESS_DEFAULT, NULL));
+ DNS_DECOMPRESS_NEVER, NULL));
} else if (alg == DNS_KEYALG_PRIVATEOID) {
/*
* Check that we can extract the OID from the start of the