httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r881222 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Date Tue, 17 Nov 2009 09:54:57 GMT
Author: jorton
Date: Tue Nov 17 09:54:56 2009
New Revision: 881222

URL: http://svn.apache.org/viewvc?rev=881222&view=rev
Log:
* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Cast away the
  constness of SSL * before calling SSL_get_state, to fix warning with
  older OpenSSLs.

Reported by: rpluem

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c?rev=881222&r1=881221&r2=881222&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Tue Nov 17 09:54:56 2009
@@ -1940,7 +1940,7 @@
      * state machine and move to ABORT if a Client Hello is being
      * read. */
     if ((where & SSL_CB_ACCEPT_LOOP) && scr->reneg_state == RENEG_REJECT)
{
-        int state = SSL_get_state(ssl);
+        int state = SSL_get_state((SSL *)ssl);
         
         if (state == SSL3_ST_SR_CLNT_HELLO_A 
             || state == SSL23_ST_SR_CLNT_HELLO_A) {



Mime
View raw message