summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-03-06 07:31:17 +0000
committerRichard Levitte <levitte@openssl.org>2000-03-06 07:31:17 +0000
commitfe10275da8ae0887e1dda8f818ef008924961e1f (patch)
treebffa5a11f6ed4d1d6f44647486bb65f87e09534b /ssl
parentde83c12253ca4e6a2e44d70195a32950e354c69b (diff)
Let's not lie to the people.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl.h5
1 files 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,