提交 71ccf961 编写于 作者: K Kurt Roeckx

It's called SSL_session_reused(), not SSL_session_resumed()

Reviewed-by: NViktor Dukhovni <viktor@openssl.org>

MR: #2452
上级 ccae4a15
......@@ -214,7 +214,7 @@ the lifetime of the SSL connection.
/* Perform SSL_connect() handshake and handle errors here */
if (SSL_session_resumed(ssl)) {
if (SSL_session_reused(ssl)) {
if (SSL_get_verify_result(ssl) == X509_V_OK) {
/*
* Resumed session was originally verified, this connection is
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册