From: Cliff Woolley Date: Fri, 29 Mar 2002 07:12:01 +0000 (+0000) Subject: These two variables were left uninitialized accidentally. X-Git-Tag: 2.0.34~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0129e9c9e29a56ccc850c3e3d0948f5debb7e7c7;p=thirdparty%2Fapache%2Fhttpd.git These two variables were left uninitialized accidentally. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94297 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_scache_shmcb.c b/modules/ssl/ssl_scache_shmcb.c index b3ebbaab87e..25957893952 100644 --- a/modules/ssl/ssl_scache_shmcb.c +++ b/modules/ssl/ssl_scache_shmcb.c @@ -1331,6 +1331,9 @@ static BOOL shmcb_remove_session_id( "internal error"); goto end; } + session_id_length = SSL_SESSION_get_session_id_length(pSession); + session_id = SSL_SESSION_get_session_id(pSession); + if ((session_id_length == idlen) && (memcmp(id, session_id, idlen) == 0)) { ssl_log(s, SSL_LOG_TRACE, "a match!");