tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1050023 - /tomcat/native/trunk/native/src/sslinfo.c
Date Thu, 16 Dec 2010 16:04:32 GMT
Author: mturk
Date: Thu Dec 16 16:04:31 2010
New Revision: 1050023

URL: http://svn.apache.org/viewvc?rev=1050023&view=rev
Log:
Fix compile-time warning.

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=1050023&r1=1050022&r2=1050023&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/sslinfo.c (original)
+++ tomcat/native/trunk/native/src/sslinfo.c Thu Dec 16 16:04:31 2010
@@ -318,7 +318,7 @@ TCN_IMPLEMENT_CALL(jstring, SSLSocket, g
         break;
         case SSL_INFO_CIPHER_DESCRIPTION:
             {
-                const SSL_CIPHER *cipher = SSL_get_current_cipher(s->ssl);
+                SSL_CIPHER *cipher = SSL_get_current_cipher(s->ssl);
                 if (cipher) {
                     char buf[256];
                     char *desc = SSL_CIPHER_description(cipher, buf, 256);
@@ -543,7 +543,7 @@ TCN_IMPLEMENT_CALL(jint, SSLSocket, getI
                 break;
                 default:
                     rv = APR_EINVAL;
-                break;                    
+                break;
            }
            X509_free(xs);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message