From fe10275da8ae0887e1dda8f818ef008924961e1f Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 6 Mar 2000 07:31:17 +0000 Subject: [PATCH] Let's not lie to the people. --- ssl/ssl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ssl/ssl.h b/ssl/ssl.h index f29f775347..fd4e08e022 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -391,9 +391,8 @@ struct ssl_ctx_st * SSL_SESSION_free() when it has finished using it. Otherwise, * on 0, it means the callback has finished with it. * If remove_session_cb is not null, it will be called when - * a session-id is removed from the cache. Again, a return - * of 0 mens that SSLeay should not SSL_SESSION_free() since - * the application is doing something with it. */ + * a session-id is removed from the cache. After the call, + * OpenSSL will SSL_SESSION_free() it. */ int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, -- GitLab