From: Geoff Thorpe Date: Fri, 23 Feb 2001 00:09:50 +0000 (+0000) Subject: I missed one. X-Git-Tag: OpenSSL_0_9_6a-beta1~23^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e3a91640739c4c016e234550ed913e7f7f6970f9;p=oweals%2Fopenssl.git I missed one. --- diff --git a/apps/s_server.c b/apps/s_server.c index 561e3a2358..0907fd971b 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1605,7 +1605,7 @@ static int generate_session_id(const SSL *ssl, unsigned char *id, (strlen(session_id_prefix) < *id_len) ? strlen(session_id_prefix) : *id_len); } - while(SSL_CTX_has_matching_session_id(ssl->ctx, id, *id_len) && + while(SSL_has_matching_session_id(ssl, id, *id_len) && (++count < MAX_SESSION_ID_ATTEMPTS)); if(count >= MAX_SESSION_ID_ATTEMPTS) return 0;