Deprecate the "tkey-domain" statement

Mark the "tkey-domain" statement as deprecated since it is only used by
code implementing TKEY Mode 2 (Diffie-Hellman), which was removed from
newer BIND 9 branches.
This commit is contained in:
Michał Kępień 2025-09-01 22:04:28 +02:00
parent 2705307f81
commit 6e3203a5b5
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -299,7 +299,7 @@ options {
tcp-receive-buffer <integer>;
tcp-send-buffer <integer>;
tkey-dhkey <quoted_string> <integer>; // deprecated
tkey-domain <quoted_string>;
tkey-domain <quoted_string>; // deprecated
tkey-gssapi-credential <quoted_string>; // deprecated
tkey-gssapi-keytab <quoted_string>;
tls-port <integer>;

View file

@ -1339,7 +1339,7 @@ static cfg_clausedef_t options_clauses[] = {
{ "tcp-receive-buffer", &cfg_type_uint32, 0 },
{ "tcp-send-buffer", &cfg_type_uint32, 0 },
{ "tkey-dhkey", &cfg_type_tkey_dhkey, CFG_CLAUSEFLAG_DEPRECATED },
{ "tkey-domain", &cfg_type_qstring, 0 },
{ "tkey-domain", &cfg_type_qstring, CFG_CLAUSEFLAG_DEPRECATED },
{ "tkey-gssapi-credential", &cfg_type_qstring,
CFG_CLAUSEFLAG_DEPRECATED },
{ "tkey-gssapi-keytab", &cfg_type_qstring, 0 },