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