bind/SOURCES/bind-9.11-fips-code-includes.patch

40 lines
1.1 KiB
Diff
Raw Normal View History

2021-05-18 06:38:43 +00:00
From c928591eb2a3b17c5be0cad56c8e061ebba11a95 Mon Sep 17 00:00:00 2001
2020-09-08 08:38:54 +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-05-18 06:38:43 +00:00
index 4b5b901..a3dd450 100644
2020-09-08 08:38:54 +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-05-18 06:38:43 +00:00
index c37b235..7786801 100644
2020-09-08 08:38:54 +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-05-18 06:38:43 +00:00
#include <isc/print.h>
2020-09-08 08:38:54 +00:00
#include <isc/print.h>
#include <isc/refcount.h>
--
2021-05-18 06:38:43 +00:00
2.26.2
2020-09-08 08:38:54 +00:00