[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Matt Caswell
matt at openssl.org
Tue Apr 24 08:24:45 UTC 2018
The branch OpenSSL_1_1_0-stable has been updated
via 0abb903b7618ad404c83ac9b44b2c1bf162b90de (commit)
from 5791a917ca0b6273c48fb43a442fd156604065de (commit)
- Log -----------------------------------------------------------------
commit 0abb903b7618ad404c83ac9b44b2c1bf162b90de
Author: Matt Caswell <matt at openssl.org>
Date: Mon Apr 23 11:23:43 2018 +0100
Document when a session gets removed from cache
Document the fact that if a session is not closed down cleanly then the
session gets removed from the cache and marked as non-resumable.
Fixes #4720
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6054)
-----------------------------------------------------------------------
Summary of changes:
doc/ssl/SSL_get_session.pod | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/ssl/SSL_get_session.pod b/doc/ssl/SSL_get_session.pod
index 99936ad..21becff 100644
--- a/doc/ssl/SSL_get_session.pod
+++ b/doc/ssl/SSL_get_session.pod
@@ -28,6 +28,11 @@ count of the B<SSL_SESSION> is incremented by one.
The ssl session contains all information required to re-establish the
connection without a new handshake.
+A session will be automatically removed from the session cache and marked as
+non-resumable if the connection is not closed down cleanly, e.g. if a fatal
+error occurs on the connection or L<SSL_shutdown(3)> is not called prior to
+L<SSL_free(3)>.
+
SSL_get0_session() returns a pointer to the actual session. As the
reference counter is not incremented, the pointer is only valid while
the connection is in use. If L<SSL_clear(3)> or
More information about the openssl-commits
mailing list