summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bind/bin/dig/dighost.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/bind/bin/dig/dighost.c b/usr.sbin/bind/bin/dig/dighost.c
index 8c2c419c2d8..30d0b47778b 100644
--- a/usr.sbin/bind/bin/dig/dighost.c
+++ b/usr.sbin/bind/bin/dig/dighost.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dighost.c,v 1.37 2020/01/23 08:14:12 florian Exp $ */
+/* $Id: dighost.c,v 1.38 2020/01/25 10:53:38 florian Exp $ */
/*! \file
* \note
@@ -1260,9 +1260,6 @@ read_confkey(void) {
const char *algorithm;
isc_result_t result;
- if (! isc_file_exists(keyfile))
- return (ISC_R_FILENOTFOUND);
-
result = cfg_parser_create(NULL, &pctx);
if (result != ISC_R_SUCCESS)
goto cleanup;