mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
silently ignore additional keytag options
This commit is contained in:
parent
6f1ac89c1a
commit
35025b6e88
@ -2079,6 +2079,12 @@ process_keytag(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
|
||||
return (DNS_R_OPTERR);
|
||||
}
|
||||
|
||||
/* Silently drop additional keytag options. */
|
||||
if (client->keytag != NULL) {
|
||||
isc_buffer_forward(buf, (unsigned int)optlen);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
client->keytag = isc_mem_get(client->mctx, optlen);
|
||||
if (client->keytag != NULL) {
|
||||
client->keytag_len = (uint16_t)optlen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user