]> git.ipfire.org Git - thirdparty/bind9.git/commit
Dig: do not hang on TLS context creation errors
authorArtem Boldariev <artem@boldariev.com>
Thu, 14 Apr 2022 15:39:20 +0000 (18:39 +0300)
committerArtem Boldariev <artem@boldariev.com>
Wed, 27 Apr 2022 13:28:23 +0000 (16:28 +0300)
commit5db2838abb3be02e308e124cdde25d2f2da3166b
treecab591b2bb62e434cae6adf659f55ce058a650bf
parent19b9c2ecf76b4b07ee7054b8d8f155085c78c9f8
Dig: do not hang on TLS context creation errors

There was a query_detach() call missing in dig, which could lead to
dig hanging on TLS context creation errors. This commit fixes.

The error was introduced because the Strict TLS implementation was
initially made over an older version of the code, where this extra
query_detach() call was not needed.
bin/dig/dighost.c