[openssl-users] Openssl 1.1 and Bind 9.6 ESV R11

The Doctor doctor at doctor.nl2k.ab.ca
Tue Jan 19 23:37:24 UTC 2016


Tried to compile an old bind and ran into



/bin/bash /usr/source/bind-9.6-ESV-R11/libtool --mode=compile /usr/bin/gcc  -I/usr/source/bind-9.6-ESV-R11 -I. -Iinclude -I/usr/source/bind-9.6-ESV-R11/lib/dns/include  -I../../lib/dns/include  -I/usr/source/bind-9.6-ESV-R11/lib/isc/include  -I../../lib/isc  -I../../lib/isc/include  -I../../lib/isc/unix/include  -I../../lib/isc/nothreads/include  -I../../lib/isc/x86_32/include -I/usr/contrib/include   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_MD5 -DOPENSSL      -g -O2 -Wall  -I/usr/contrib/include/libxml2   -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c openssldh_link.c
libtool: compile:  /usr/bin/gcc -I/usr/source/bind-9.6-ESV-R11 -I. -Iinclude -I/usr/source/bind-9.6-ESV-R11/lib/dns/include -I../../lib/dns/include -I/usr/source/bind-9.6-ESV-R11/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/nothreads/include -I../../lib/isc/x86_32/include -I/usr/contrib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_MD5 -DOPENSSL -g -O2 -Wall -I/usr/contrib/include/libxml2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c openssldh_link.c -o openssldh_link.o
openssldh_link.c: In function `openssldh_generate':
openssldh_link.c:155: storage size of `cb' isn't known
openssldh_link.c:155: warning: unused variable `cb'
openssldh_link.c: In function `dst__openssldh_init':
openssldh_link.c:623: warning: implicit declaration of function `BN_init'
/usr/contrib/include/openssl/conf.h: At top level:
openssldh_link.c:73: storage size of `bn2' isn't known
openssldh_link.c:73: storage size of `bn768' isn't known
openssldh_link.c:73: storage size of `bn1024' isn't known
openssldh_link.c:73: storage size of `bn1536' isn't known
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop. 

Line 73 reads

static BIGNUM bn2, bn768, bn1024, bn1536;

line 155 reads

#if OPENSSL_VERSION_NUMBER > 0x00908000L
        BN_GENCB cb;
#endif

and line 623 reads

isc_result_t
dst__openssldh_init(dst_func_t **funcp) {
        REQUIRE(funcp != NULL);
        if (*funcp == NULL) {
                BN_init(&bn2);
                BN_init(&bn768);
                BN_init(&bn1024);
                BN_init(&bn1536);
                BN_set_word(&bn2, 2);
                BN_fromhex(&bn768, PRIME768);
                BN_fromhex(&bn1024, PRIME1024);
                BN_fromhex(&bn1536, PRIME1536);
                *funcp = &openssldh_functions;
        }
        return (ISC_R_SUCCESS);
}
  

What needs to be adjusted?


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Birthdate 29 Jan 1969 Redhill, Surrey, UK


More information about the openssl-users mailing list