提交 e3a91640 编写于 作者: G Geoff Thorpe

I missed one.

上级 f85c9904
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册