e55890
From 68baeb7211ba2fcd4eff53d987e9b70ba38294cb 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
e55890
index 36ee6c7..6051cd2 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
e55890
index 70805bb..33870f3 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>
e55890
 #include <isc/refcount.h>
e55890
 #include <isc/serial.h>
e55890
-- 
e55890
2.14.5
e55890