2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

[master] setup tsig in dig/host/nslookup

(Change #3813 had broken some system tests.)
This commit is contained in:
Evan Hunt
2014-04-18 07:27:50 -07:00
parent ec3b216506
commit 58e291cb8d
5 changed files with 17 additions and 2 deletions

View File

@@ -1976,6 +1976,10 @@ main(int argc, char **argv) {
setup_libs();
setup_system();
parse_args(ISC_FALSE, ISC_FALSE, argc, argv);
if (keyfile[0] != 0)
setup_file_key();
else if (keysecret[0] != 0)
setup_text_key();
if (domainopt[0] != '\0') {
set_search_domain(domainopt);
usesearch = ISC_TRUE;