summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_session_reused.3
diff options
context:
space:
mode:
authorbentley <>2014-10-12 09:33:04 +0000
committerbentley <>2014-10-12 09:33:04 +0000
commit78332233d01faa45e0bb0b1583d47cb5ad1ddc19 (patch)
treea5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_session_reused.3
parent4e737c824fafe5f105e5f4849a9db2569b5d53d8 (diff)
downloadopenbsd-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.329
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
12Query whether a reused session was negotiated during the handshake.
13.Sh NOTES
14During the negotiation, a client can propose to reuse a session.
15The server then looks up the session in its cache.
16If both client and server agree on the session,
17it will be reused and a flag is set that can be queried by the application.
18.Sh RETURN VALUES
19The following return values can occur:
20.Bl -tag -width Ds
21.It 0
22A new session was negotiated.
23.It 1
24A 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