1SSL_session_reused(3)               OpenSSL              SSL_session_reused(3)
2
3
4

NAME

6       SSL_session_reused - query whether a reused session was negotiated
7       during handshake
8

SYNOPSIS

10        #include <openssl/ssl.h>
11
12        int SSL_session_reused(SSL *ssl);
13

DESCRIPTION

15       Query, whether a reused session was negotiated during the handshake.
16

NOTES

18       During the negotiation, a client can propose to reuse a session. The
19       server then looks up the session in its cache. If both client and
20       server agree on the session, it will be reused and a flag is being set
21       that can be queried by the application.
22

RETURN VALUES

24       The following return values can occur:
25
26       0   A new session was negotiated.
27
28       1   A session was reused.
29

SEE ALSO

31       ssl(3), SSL_set_session(3), SSL_CTX_set_session_cache_mode(3)
32
33
34
351.0.1e                            2017-03-22             SSL_session_reused(3)
Impressum