From a256895c8089de1383c258cd7132164fff0d4922 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 17 Nov 2009 09:54:56 +0000 Subject: [PATCH] * 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@881222 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 1249bd1505..34f3ffd14a 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -1940,7 +1940,7 @@ void ssl_callback_Info(MODSSL_INFO_CB_ARG_TYPE ssl, int where, int rc) * 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) { -- 2.50.1