From bff7dfaf7344e67f7e17f2f11af2300ffc86ad3b Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 21 Aug 2017 07:35:30 +0000 Subject: Delete non-existent functions SSL_add_session() and SSL_remove_session() and clarify that SSL_CTX_remove_session(3) marks the session as non-resumable. From Rich Salz via OpenSSL commit 1722496f Jun 8 15:18:38 2017 -0400 and from Matt Caswell via OpenSSL commit b8964668 Apr 26 15:16:18 2017 +0100. --- src/lib/libssl/man/SSL_CTX_add_session.3 | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libssl/man/SSL_CTX_add_session.3 b/src/lib/libssl/man/SSL_CTX_add_session.3 index 44c3085a3f..b99639a815 100644 --- a/src/lib/libssl/man/SSL_CTX_add_session.3 +++ b/src/lib/libssl/man/SSL_CTX_add_session.3 @@ -1,5 +1,5 @@ -.\" $OpenBSD: SSL_CTX_add_session.3,v 1.2 2016/11/30 13:21:23 schwarze Exp $ -.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" $OpenBSD: SSL_CTX_add_session.3,v 1.3 2017/08/21 07:35:30 schwarze Exp $ +.\" OpenSSL SSL_CTX_add_session.pod 1722496f Jun 8 15:18:38 2017 -0400 .\" .\" This file was written by Lutz Jaenicke and .\" Geoff Thorpe . @@ -49,25 +49,19 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 30 2016 $ +.Dd $Mdocdate: August 21 2017 $ .Dt SSL_CTX_ADD_SESSION 3 .Os .Sh NAME .Nm SSL_CTX_add_session , -.Nm SSL_add_session , -.Nm SSL_CTX_remove_session , -.Nm SSL_remove_session +.Nm SSL_CTX_remove_session .Nd manipulate session cache .Sh SYNOPSIS .In openssl/ssl.h .Ft int .Fn SSL_CTX_add_session "SSL_CTX *ctx" "SSL_SESSION *c" .Ft int -.Fn SSL_add_session "SSL_CTX *ctx" "SSL_SESSION *c" -.Ft int .Fn SSL_CTX_remove_session "SSL_CTX *ctx" "SSL_SESSION *c" -.Ft int -.Fn SSL_remove_session "SSL_CTX *ctx" "SSL_SESSION *c" .Sh DESCRIPTION .Fn SSL_CTX_add_session adds the session @@ -85,18 +79,12 @@ the old session is removed by calling removes the session .Fa c from the context -.Fa ctx . +.Fa ctx +and marks it as non-resumable. .Xr SSL_SESSION_free 3 is called once for .Fa c . .Pp -.Fn SSL_add_session -and -.Fn SSL_remove_session -are synonyms for their -.Fn SSL_CTX_* -counterparts. -.Sh NOTES When adding a new session to the internal session cache, it is examined whether a session with the same session id already exists. In this case it is assumed that both sessions are identical. -- cgit v1.2.3-55-g6feb