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