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