diff options
Diffstat (limited to 'src/lib/libssl/man/SSL_session_reused.3')
| -rw-r--r-- | src/lib/libssl/man/SSL_session_reused.3 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/libssl/man/SSL_session_reused.3 b/src/lib/libssl/man/SSL_session_reused.3 new file mode 100644 index 0000000000..6d592a8d55 --- /dev/null +++ b/src/lib/libssl/man/SSL_session_reused.3 | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | .\" | ||
| 2 | .\" $OpenBSD: SSL_session_reused.3,v 1.1 2016/11/05 15:32:20 schwarze Exp $ | ||
| 3 | .\" | ||
| 4 | .Dd $Mdocdate: November 5 2016 $ | ||
| 5 | .Dt SSL_SESSION_REUSED 3 | ||
| 6 | .Os | ||
| 7 | .Sh NAME | ||
| 8 | .Nm SSL_session_reused | ||
| 9 | .Nd query whether a reused session was negotiated during handshake | ||
| 10 | .Sh SYNOPSIS | ||
| 11 | .In openssl/ssl.h | ||
| 12 | .Ft int | ||
| 13 | .Fn SSL_session_reused "SSL *ssl" | ||
| 14 | .Sh DESCRIPTION | ||
| 15 | Query whether a reused session was negotiated during the handshake. | ||
| 16 | .Sh NOTES | ||
| 17 | During the negotiation, a client can propose to reuse a session. | ||
| 18 | The server then looks up the session in its cache. | ||
| 19 | If both client and server agree on the session, | ||
| 20 | it will be reused and a flag is set that can be queried by the application. | ||
| 21 | .Sh RETURN VALUES | ||
| 22 | The following return values can occur: | ||
| 23 | .Bl -tag -width Ds | ||
| 24 | .It 0 | ||
| 25 | A new session was negotiated. | ||
| 26 | .It 1 | ||
| 27 | A session was reused. | ||
| 28 | .El | ||
| 29 | .Sh SEE ALSO | ||
| 30 | .Xr ssl 3 , | ||
| 31 | .Xr SSL_CTX_set_session_cache_mode 3 , | ||
| 32 | .Xr SSL_set_session 3 | ||
