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