]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4881. [bug] Only include dst_openssl.h when OpenSSL is required.
authorMark Andrews <marka@isc.org>
Tue, 30 Jan 2018 04:21:02 +0000 (15:21 +1100)
committerMark Andrews <marka@isc.org>
Tue, 30 Jan 2018 04:21:02 +0000 (15:21 +1100)
                        [RT #47068]

CHANGES
lib/dns/hmac_link.c

diff --git a/CHANGES b/CHANGES
index 03b5b7230a882de1ae622e9c274a55699acd0136..6aac08effd05d7b96529d42cb17f91e118609818 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+4881.  [bug]           Only include dst_openssl.h when OpenSSL is required.
+                       [RT #47068]
+
 4880.  [bug]           Named wasn't returning the target of a cross zone
                        CNAME between to served zones when recursion was
                        desired and available (RD=1, RA=1). Don't return
index aa848f821d70cf5727611f5387ecd2e93c499a0e..cc0f7500090c334d80e358978682ef3afeebacd5 100644 (file)
@@ -41,7 +41,9 @@
 #include <dst/result.h>
 
 #include "dst_internal.h"
-#include "dst_openssl.h"
+#ifdef HAVE_FIPS_MODE
+#include "dst_openssl.h"       /* FIPS_mode() prototype */
+#endif
 #include "dst_parse.h"
 
 #ifndef PK11_MD5_DISABLE