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