mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Recognize escapes when reading the public key
Escapes are valid in DNS names, and should be recognized when reading the public key from disk.
This commit is contained in:
parent
7cace4fb61
commit
71f023a1c3
@ -1606,7 +1606,7 @@ dst_key_read_public(const char *filename, int type, isc_mem_t *mctx,
|
||||
isc_token_t token;
|
||||
isc_result_t ret;
|
||||
dns_rdata_t rdata = DNS_RDATA_INIT;
|
||||
unsigned int opt = ISC_LEXOPT_DNSMULTILINE;
|
||||
unsigned int opt = ISC_LEXOPT_DNSMULTILINE | ISC_LEXOPT_ESCAPE;
|
||||
dns_rdataclass_t rdclass = dns_rdataclass_in;
|
||||
isc_lexspecials_t specials;
|
||||
uint32_t ttl = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user