1 =pod 2 3 =head1 NAME 4 5 SSL_SESSION_is_resumable 6 - determine whether an SSL_SESSION object can be used for resumption 7 8 =head1 SYNOPSIS 9 10 #include <openssl/ssl.h> 11 12 int SSL_SESSION_is_resumable(const SSL_SESSION *s); 13 14 =head1 DESCRIPTION 15 16 SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used 17 to resume a session or not. Returns 1 if it can or 0 if not. Note that 18 attempting to resume with a non-resumable session will result in a full 19 handshake. 20 21 =head1 RETURN VALUES 22 23 SSL_SESSION_is_resumable() returns 1 if the session is resumable or 0 otherwise. 24 25 =head1 SEE ALSO 26 27 L<ssl(7)>, 28 L<SSL_get_session(3)>, 29 L<SSL_CTX_sess_set_new_cb(3)> 30 31 =head1 HISTORY 32 33 The SSL_SESSION_is_resumable() function was added in OpenSSL 1.1.1. 34 35 =head1 COPYRIGHT 36 37 Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. 38 39 Licensed under the Apache License 2.0 (the "License"). You may not use 40 this file except in compliance with the License. You can obtain a copy 41 in the file LICENSE in the source distribution or at 42 L<https://www.openssl.org/source/license.html>. 43 44 =cut 45