943bc6
From c928591eb2a3b17c5be0cad56c8e061ebba11a95 Mon Sep 17 00:00:00 2001
89a891
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
89a891
Date: Thu, 20 Dec 2018 11:52:12 +0100
89a891
Subject: [PATCH] Fix implicit declaration warning
89a891
89a891
isc_md5_available() function is not declared before its use. Include
89a891
header providing it in files that use it.
89a891
---
89a891
 bin/tests/system/tkey/keydelete.c | 1 +
89a891
 lib/dns/tsig.c                    | 1 +
89a891
 2 files changed, 2 insertions(+)
89a891
89a891
diff --git a/bin/tests/system/tkey/keydelete.c b/bin/tests/system/tkey/keydelete.c
943bc6
index 4b5b901..a3dd450 100644
89a891
--- a/bin/tests/system/tkey/keydelete.c
89a891
+++ b/bin/tests/system/tkey/keydelete.c
89a891
@@ -21,6 +21,7 @@
89a891
 #include <isc/hash.h>
89a891
 #include <isc/log.h>
89a891
 #include <isc/mem.h>
89a891
+#include <isc/md5.h>
89a891
 #include <isc/print.h>
89a891
 #include <isc/sockaddr.h>
89a891
 #include <isc/socket.h>
89a891
diff --git a/lib/dns/tsig.c b/lib/dns/tsig.c
943bc6
index c37b235..7786801 100644
89a891
--- a/lib/dns/tsig.c
89a891
+++ b/lib/dns/tsig.c
89a891
@@ -18,6 +18,7 @@
89a891
 
89a891
 #include <isc/buffer.h>
89a891
 #include <isc/mem.h>
89a891
+#include <isc/md5.h>
89a891
 #include <isc/print.h>
943bc6
 #include <isc/print.h>
89a891
 #include <isc/refcount.h>
89a891
-- 
943bc6
2.26.2
89a891