From: Cliff Woolley Date: Fri, 29 Mar 2002 07:12:01 +0000 (+0000) Subject: These two variables were left uninitialized accidentally. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9013c1ef3a0f1e4249da6eb35af2a40e81eaa39;p=thirdparty%2Fapache%2Fhttpd.git These two variables were left uninitialized accidentally. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94297 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_scache_shmcb.c b/ssl_scache_shmcb.c index b3ebbaab87e..25957893952 100644 --- a/ssl_scache_shmcb.c +++ b/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!");