Home | History | Annotate | Line # | Download | only in man3
      1      1.1  christos =pod
      2      1.1  christos 
      3      1.1  christos =head1 NAME
      4      1.1  christos 
      5      1.1  christos SSL_session_reused - query whether a reused session was negotiated during handshake
      6      1.1  christos 
      7      1.1  christos =head1 SYNOPSIS
      8      1.1  christos 
      9      1.1  christos  #include <openssl/ssl.h>
     10      1.1  christos 
     11  1.1.1.2  christos  int SSL_session_reused(const SSL *ssl);
     12      1.1  christos 
     13      1.1  christos =head1 DESCRIPTION
     14      1.1  christos 
     15      1.1  christos Query, whether a reused session was negotiated during the handshake.
     16      1.1  christos 
     17      1.1  christos =head1 NOTES
     18      1.1  christos 
     19      1.1  christos During the negotiation, a client can propose to reuse a session. The server
     20      1.1  christos then looks up the session in its cache. If both client and server agree
     21      1.1  christos on the session, it will be reused and a flag is being set that can be
     22      1.1  christos queried by the application.
     23      1.1  christos 
     24      1.1  christos =head1 RETURN VALUES
     25      1.1  christos 
     26      1.1  christos The following return values can occur:
     27      1.1  christos 
     28      1.1  christos =over 4
     29      1.1  christos 
     30      1.1  christos =item Z<>0
     31      1.1  christos 
     32      1.1  christos A new session was negotiated.
     33      1.1  christos 
     34      1.1  christos =item Z<>1
     35      1.1  christos 
     36      1.1  christos A session was reused.
     37      1.1  christos 
     38      1.1  christos =back
     39      1.1  christos 
     40      1.1  christos =head1 SEE ALSO
     41      1.1  christos 
     42      1.1  christos L<ssl(7)>, L<SSL_set_session(3)>,
     43      1.1  christos L<SSL_CTX_set_session_cache_mode(3)>
     44      1.1  christos 
     45      1.1  christos =head1 COPYRIGHT
     46      1.1  christos 
     47  1.1.1.3  christos Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
     48      1.1  christos 
     49  1.1.1.3  christos Licensed under the Apache License 2.0 (the "License").  You may not use
     50      1.1  christos this file except in compliance with the License.  You can obtain a copy
     51      1.1  christos in the file LICENSE in the source distribution or at
     52      1.1  christos L<https://www.openssl.org/source/license.html>.
     53      1.1  christos 
     54      1.1  christos =cut
     55