]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fixed build errors with libressl
authorEvan Hunt <each@isc.org>
Mon, 23 Mar 2015 18:34:56 +0000 (13:34 -0500)
committerEvan Hunt <each@isc.org>
Mon, 23 Mar 2015 18:34:56 +0000 (13:34 -0500)
4088. [port] Fixed errors when building with libressl. [RT #38899]

CHANGES
lib/isc/tests/hash_test.c
lib/isccc/Makefile.in

diff --git a/CHANGES b/CHANGES
index d915355e45bcc40d85f7153c93407de7a656f56e..0aaceb68212a63202d0a6f6c9f6554273ba0ed11 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+4088.  [port]          Fixed errors when building with libressl. [RT #38899]
+
 4087.  [bug]           Fix a crash due to use-after-free due to sequencing
                        of tasks actions. [RT #38495]
 
index ce0bd9d31a58364d121f64c36d07e02f9baddd28..15c78f85fff959e0d5e9e700d2fb8564fdd6c4b7 100644 (file)
@@ -40,7 +40,7 @@
 unsigned char digest[ISC_SHA512_DIGESTLENGTH];
 unsigned char buffer[1024];
 const char *s;
-char str[2 * ISC_SHA512_DIGESTLENGTH + 1];
+char str[2 * ISC_SHA512_DIGESTLENGTH + 3];
 unsigned char key[20];
 
 isc_result_t
index 1a33be9163b2e6bde351a6e24f7b50ca6ac2c469..831a6febb1e30a30e52f227c5da37308e1c977fb 100644 (file)
@@ -25,7 +25,8 @@ top_srcdir =  @top_srcdir@
 
 @BIND9_MAKE_INCLUDES@
 
-CINCLUDES =    -I. ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCC_INCLUDES}
+CINCLUDES =    -I. ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCC_INCLUDES} \
+               @ISC_OPENSSL_INC@
 
 CDEFINES =
 CWARNINGS =