I missed one.

This commit is contained in:
Geoff Thorpe 2001-02-23 00:09:50 +00:00
parent f85c9904c6
commit e3a9164073
1 changed files with 1 additions and 1 deletions

View File

@ -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;