2017-03-21 13:51:03 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
SSL_SESSION_is_resumable
|
|
|
|
- determine whether an SSL_SESSION object can be used for resumption
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
|
2017-08-16 17:07:43 +00:00
|
|
|
int SSL_SESSION_is_resumable(const SSL_SESSION *s);
|
2017-03-21 13:51:03 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used
|
|
|
|
to resume a session or not. Returns 1 if it can or 0 if not. Note that
|
2017-04-26 14:14:03 +00:00
|
|
|
attempting to resume with a non-resumable session will result in a full
|
|
|
|
handshake.
|
2017-03-21 13:51:03 +00:00
|
|
|
|
2017-12-25 09:50:39 +00:00
|
|
|
=head1 RETURN VALUES
|
|
|
|
|
|
|
|
SSL_SESSION_is_resumable() returns 1 if the session is resumable or 0 otherwise.
|
|
|
|
|
2017-03-21 13:51:03 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<ssl(7)>,
|
|
|
|
L<SSL_get_session(3)>,
|
|
|
|
L<SSL_CTX_sess_set_new_cb(3)>
|
|
|
|
|
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
SSL_SESSION_is_resumable() was first added to OpenSSL 1.1.1
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2018-01-15 17:01:46 +00:00
|
|
|
Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2017-03-21 13:51:03 +00:00
|
|
|
|
2018-12-06 13:04:44 +00:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2017-03-21 13:51:03 +00:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|