Am 23.03.2016 um 01:15 schrieb Bill Barker:
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160323/build-1/libtool --silent
--mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT
-D_GNU_SOURCE -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux
-I/srv/gump/public/workspace/openssl-master/dest-20160323/include
-I/srv/gump/public/workspace/apr-1/dest-20160323/include/apr-1 -o src/sslinfo.lo -c
src/sslinfo.c && touch src/sslinfo.lo
src/sslinfo.c: In function 'Java_org_apache_tomcat_jni_SSLSocket_getInfoS':
src/sslinfo.c:403:79: error: dereferencing pointer to incomplete type
nid = OBJ_obj2nid((ASN1_OBJECT
*)(X509_get_X509_PUBKEY(xs)->algor->algorithm));
^
src/sslinfo.c:452:79: error: dereferencing pointer to incomplete type
nid = OBJ_obj2nid((ASN1_OBJECT
*)(X509_get_X509_PUBKEY(xs)->algor->algorithm));
^
make[1]: *** [src/sslinfo.lo] Error 1
make[1]: Leaving directory
`/srv/gump/public/workspace/tomcat-native-trunk/native'
make: *** [all-recursive] Error 1
X509_PUBKEY was made opaque in OpenSSL 1.1.0 by
https://github.com/openssl/openssl/commit/29fa0a1af45a1037850b29f5851f4a054124781b
That happened post API freeze, but I expect that this kind of change
will become rare soon. I tried to fix it in r1736292, code mostly taken
over from mod_ssl (but beware: some of the 1.1.0 compatibility fixes
there are also from me and only exist in httpd trunk, so only tested
with httpd test suite yet).
The plan of the OpenSSL project for 1.1.0 is a beta 2 release around end
of March and the first production release around end of April.
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org