diff options
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 | ||
