2021-03-30 13:47:10 +00:00
|
|
|
From c928591eb2a3b17c5be0cad56c8e061ebba11a95 Mon Sep 17 00:00:00 2001
|
2019-08-05 14:40:24 +00:00
|
|
|
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
|
2021-03-30 13:47:10 +00:00
|
|
|
index 4b5b901..a3dd450 100644
|
2019-08-05 14:40:24 +00:00
|
|
|
--- 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
|
2021-03-30 13:47:10 +00:00
|
|
|
index c37b235..7786801 100644
|
2019-08-05 14:40:24 +00:00
|
|
|
--- 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>
|
2021-03-30 13:47:10 +00:00
|
|
|
#include <isc/print.h>
|
2019-08-05 14:40:24 +00:00
|
|
|
#include <isc/print.h>
|
|
|
|
#include <isc/refcount.h>
|
|
|
|
--
|
2021-03-30 13:47:10 +00:00
|
|
|
2.26.2
|
2019-08-05 14:40:24 +00:00
|
|
|
|