Lines Matching refs:session
5 SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect
11 int SSL_set_session(SSL *ssl, SSL_SESSION *session);
15 SSL_set_session() sets B<session> to be used when the TLS/SSL connection
17 When the session is set, the reference count of B<session> is incremented
18 by 1. If the session is not reused, the reference count is decremented
19 again during SSL_connect(). Whether the session was reused can be queried
22 If there is already a session set inside B<ssl> (because it was set with
24 a connection), SSL_SESSION_free() will be called for that session.
25 This is also the case when B<session> is a NULL pointer. If that old
26 session is still B<open>, it is considered bad and will be removed from the
27 session cache (if used). A session is considered open, if L<SSL_shutdown(3)> was
33 SSL_SESSION objects keep internal link information about the session cache
34 list, when being inserted into one SSL_CTX object's session cache.