diff options
author | bentley <> | 2014-10-12 09:33:04 +0000 |
---|---|---|
committer | bentley <> | 2014-10-12 09:33:04 +0000 |
commit | 78332233d01faa45e0bb0b1583d47cb5ad1ddc19 (patch) | |
tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_session_reused.3 | |
parent | 4e737c824fafe5f105e5f4849a9db2569b5d53d8 (diff) | |
download | openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.gz openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.bz2 openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.zip |
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet.
ok schwarze@ miod@
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 | ||