tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mudassir Aftab <withmudas...@gmail.com>
Subject Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47
Date Fri, 03 Jan 2014 20:23:12 GMT
Hi,

I am getting following error while compiling tomcat-native-1.1.29-src with
1.0.1e-3ubuntu1, shell i ignore this ?

src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_make':
src/sslcontext.c:77:17: warning: passing argument 1 of 'SSL_CTX_new' makes
pointer from integer without a cast [enabled by default]
                 ctx = SSL_CTX_new(SSLv2_client_method());
                 ^
In file included from
/opt/misc/tomcat-native-1.1.29-src/jni/native/include/ssl_private.h:43:0,
                 from src/sslcontext.c:30:
/usr/include/openssl/ssl.h:1664:10: note: expected 'const struct SSL_METHOD
*' but argument is of type 'int'
 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
          ^
src/sslcontext.c:79:17: warning: passing argument 1 of 'SSL_CTX_new' makes
pointer from integer without a cast [enabled by default]
                 ctx = SSL_CTX_new(SSLv2_server_method());
                 ^
In file included from
/opt/misc/tomcat-native-1.1.29-src/jni/native/include/ssl_private.h:43:0,
                 from src/sslcontext.c:30:
/usr/include/openssl/ssl.h:1664:10: note: expected 'const struct SSL_METHOD
*' but argument is of type 'int'
 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
          ^
src/sslcontext.c:81:17: warning: passing argument 1 of 'SSL_CTX_new' makes
pointer from integer without a cast [enabled by default]
                 ctx = SSL_CTX_new(SSLv2_method());
                 ^
In file included from
/opt/misc/tomcat-native-1.1.29-src/jni/native/include/ssl_private.h:43:0,
                 from src/sslcontext.c:30:
/usr/include/openssl/ssl.h:1664:10: note: expected 'const struct SSL_METHOD
*' but argument is of type 'int'
 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message