提交 fe10275d 编写于 作者: R Richard Levitte

Let's not lie to the people.

上级 de83c122
...@@ -391,9 +391,8 @@ struct ssl_ctx_st ...@@ -391,9 +391,8 @@ struct ssl_ctx_st
* SSL_SESSION_free() when it has finished using it. Otherwise, * SSL_SESSION_free() when it has finished using it. Otherwise,
* on 0, it means the callback has finished with it. * on 0, it means the callback has finished with it.
* If remove_session_cb is not null, it will be called when * If remove_session_cb is not null, it will be called when
* a session-id is removed from the cache. Again, a return * a session-id is removed from the cache. After the call,
* of 0 mens that SSLeay should not SSL_SESSION_free() since * OpenSSL will SSL_SESSION_free() it. */
* the application is doing something with it. */
int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess);
SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册