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