diff options
author | schwarze <> | 2016-11-05 15:32:20 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-05 15:32:20 +0000 |
commit | 5af30545c000c195ca6e44f207da004e5780ddb5 (patch) | |
tree | 1672f1234352c29443fcacb44e22f1b20f174d99 /src/lib/libssl/man/SSL_CTX_sessions.3 | |
parent | ba7c6bac5d2c870a4d1c1ce9f08db5e57c660625 (diff) | |
download | openbsd-5af30545c000c195ca6e44f207da004e5780ddb5.tar.gz openbsd-5af30545c000c195ca6e44f207da004e5780ddb5.tar.bz2 openbsd-5af30545c000c195ca6e44f207da004e5780ddb5.zip |
move manual pages from doc/ to man/ for consistency with other
libraries, in particular considering that there are unrelated
files in doc/; requested by jsing@ and beck@
Diffstat (limited to 'src/lib/libssl/man/SSL_CTX_sessions.3')
-rw-r--r-- | src/lib/libssl/man/SSL_CTX_sessions.3 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_sessions.3 b/src/lib/libssl/man/SSL_CTX_sessions.3 new file mode 100644 index 0000000000..72311699c8 --- /dev/null +++ b/src/lib/libssl/man/SSL_CTX_sessions.3 | |||
@@ -0,0 +1,35 @@ | |||
1 | .\" | ||
2 | .\" $OpenBSD: SSL_CTX_sessions.3,v 1.1 2016/11/05 15:32:19 schwarze Exp $ | ||
3 | .\" | ||
4 | .Dd $Mdocdate: November 5 2016 $ | ||
5 | .Dt SSL_CTX_SESSIONS 3 | ||
6 | .Os | ||
7 | .Sh NAME | ||
8 | .Nm SSL_CTX_sessions | ||
9 | .Nd access internal session cache | ||
10 | .Sh SYNOPSIS | ||
11 | .In openssl/ssl.h | ||
12 | .Ft struct lhash_st * | ||
13 | .Fn SSL_CTX_sessions "SSL_CTX *ctx" | ||
14 | .Sh DESCRIPTION | ||
15 | .Fn SSL_CTX_sessions | ||
16 | returns a pointer to the lhash databases containing the internal session cache | ||
17 | for | ||
18 | .Fa ctx . | ||
19 | .Sh NOTES | ||
20 | The sessions in the internal session cache are kept in an | ||
21 | lhash-type database | ||
22 | (see | ||
23 | .Xr lh_new 3 ) . | ||
24 | It is possible to directly access this database, e.g., for searching. | ||
25 | In parallel, | ||
26 | the sessions form a linked list which is maintained separately from the | ||
27 | lhash operations, | ||
28 | so that the database must not be modified directly but by using the | ||
29 | .Xr SSL_CTX_add_session 3 | ||
30 | family of functions. | ||
31 | .Sh SEE ALSO | ||
32 | .Xr lh_new 3 , | ||
33 | .Xr ssl 3 , | ||
34 | .Xr SSL_CTX_add_session 3 , | ||
35 | .Xr SSL_CTX_set_session_cache_mode 3 | ||