diff options
Diffstat (limited to 'src/lib/libssl')
| -rw-r--r-- | src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 b/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 index 5b2b4ba9da..e99f2be671 100644 --- a/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 +++ b/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.6 2018/04/25 14:07:57 schwarze Exp $ | 1 | .\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.7 2022/03/29 18:15:52 naddy Exp $ |
| 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. | 4 | .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. |
| @@ -49,7 +49,7 @@ | |||
| 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 51 | .\" | 51 | .\" |
| 52 | .Dd $Mdocdate: April 25 2018 $ | 52 | .Dd $Mdocdate: March 29 2022 $ |
| 53 | .Dt SSL_CTX_SESS_SET_GET_CB 3 | 53 | .Dt SSL_CTX_SESS_SET_GET_CB 3 |
| 54 | .Os | 54 | .Os |
| 55 | .Sh NAME | 55 | .Sh NAME |
| @@ -151,7 +151,7 @@ caching is enabled (see | |||
| 151 | .Xr SSL_CTX_set_session_cache_mode 3 ) . | 151 | .Xr SSL_CTX_set_session_cache_mode 3 ) . |
| 152 | The | 152 | The |
| 153 | .Fn new_session_cb | 153 | .Fn new_session_cb |
| 154 | is passed the | 154 | function is passed the |
| 155 | .Fa ssl | 155 | .Fa ssl |
| 156 | connection and the ssl session | 156 | connection and the ssl session |
| 157 | .Fa sess . | 157 | .Fa sess . |
| @@ -159,7 +159,8 @@ If the callback returns 0, the session will be immediately removed again. | |||
| 159 | .Pp | 159 | .Pp |
| 160 | The | 160 | The |
| 161 | .Fn remove_session_cb | 161 | .Fn remove_session_cb |
| 162 | is called whenever the SSL engine removes a session from the internal cache. | 162 | function is called whenever the SSL engine removes a session from the |
| 163 | internal cache. | ||
| 163 | This happens when the session is removed because it is expired or when a | 164 | This happens when the session is removed because it is expired or when a |
| 164 | connection was not shut down cleanly. | 165 | connection was not shut down cleanly. |
| 165 | It also happens for all sessions in the internal session cache when | 166 | It also happens for all sessions in the internal session cache when |
| @@ -184,7 +185,7 @@ The | |||
| 184 | function is always called, also when session caching was disabled. | 185 | function is always called, also when session caching was disabled. |
| 185 | The | 186 | The |
| 186 | .Fn get_session_cb | 187 | .Fn get_session_cb |
| 187 | is passed the | 188 | function is passed the |
| 188 | .Fa ssl | 189 | .Fa ssl |
| 189 | connection, the session id of length | 190 | connection, the session id of length |
| 190 | .Fa length | 191 | .Fa length |
