From e3a91640739c4c016e234550ed913e7f7f6970f9 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Fri, 23 Feb 2001 00:09:50 +0000 Subject: [PATCH] I missed one. --- apps/s_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;