rem: usr: Deprecate the "tkey-domain" statement

Mark the :any:`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.

See #4204

Merge branch '4204-deprecate-tkey-domain' into 'bind-9.18'

See merge request isc-projects/bind9!10783
This commit is contained in:
Michał Kępień 2025-09-01 22:29:29 +02:00
commit e28c95c116
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 },