Author: mturk Date: Tue May 29 09:12:20 2012 New Revision: 1343614 URL: http://svn.apache.org/viewvc?rev=1343614&view=rev Log: Fix compile warnings by changing SSL api
Modified: tomcat/native/trunk/native/src/sslinfo.c Modified: tomcat/native/trunk/native/src/sslinfo.c URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/sslinfo.c?rev=1343614&r1=1343613&r2=1343614&view=diff ============================================================================== --- tomcat/native/trunk/native/src/sslinfo.c (original) +++ tomcat/native/trunk/native/src/sslinfo.c Tue May 29 09:12:20 2012 @@ -318,10 +318,10 @@ TCN_IMPLEMENT_CALL(jstring, SSLSocket, g break; case SSL_INFO_CIPHER_DESCRIPTION: { - SSL_CIPHER *cipher = SSL_get_current_cipher(s->ssl); + SSL_CIPHER *cipher = (SSL_CIPHER *)SSL_get_current_cipher(s->ssl); if (cipher) { char buf[256]; - char *desc = SSL_CIPHER_description(cipher, buf, 256); + const char *desc = SSL_CIPHER_description(cipher, buf, 256); value = tcn_new_string(e, desc); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org