1SSL_SESSION_REUSED(3) OpenSSL SSL_SESSION_REUSED(3)
2
3
4
6 SSL_session_reused - query whether a reused session was negotiated
7 during handshake
8
10 #include <openssl/ssl.h>
11
12 int SSL_session_reused(const SSL *ssl);
13
15 Query, whether a reused session was negotiated during the handshake.
16
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
24 The following return values can occur:
25
26 0 A new session was negotiated.
27
28 1 A session was reused.
29
31 ssl(7), SSL_set_session(3), SSL_CTX_set_session_cache_mode(3)
32
34 Copyright 2001-2019 The OpenSSL Project Authors. All Rights Reserved.
35
36 Licensed under the OpenSSL license (the "License"). You may not use
37 this file except in compliance with the License. You can obtain a copy
38 in the file LICENSE in the source distribution or at
39 <https://www.openssl.org/source/license.html>.
40
41
42
431.1.1d 2019-10-03 SSL_SESSION_REUSED(3)