xref: /freebsd/crypto/openssl/doc/man3/SSL_get_extms_support.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimSSL_get_extms_support - extended master secret support
6e71b7053SJung-uk Kim
7e71b7053SJung-uk Kim=head1 SYNOPSIS
8e71b7053SJung-uk Kim
9e71b7053SJung-uk Kim #include <openssl/ssl.h>
10e71b7053SJung-uk Kim
11e71b7053SJung-uk Kim int SSL_get_extms_support(SSL *ssl);
12e71b7053SJung-uk Kim
13e71b7053SJung-uk Kim=head1 DESCRIPTION
14e71b7053SJung-uk Kim
15e71b7053SJung-uk KimSSL_get_extms_support() indicates whether the current session used extended
16e71b7053SJung-uk Kimmaster secret.
17e71b7053SJung-uk Kim
18e71b7053SJung-uk KimThis function is implemented as a macro.
19e71b7053SJung-uk Kim
20e71b7053SJung-uk Kim=head1 RETURN VALUES
21e71b7053SJung-uk Kim
22e71b7053SJung-uk KimSSL_get_extms_support() returns 1 if the current session used extended
23e71b7053SJung-uk Kimmaster secret, 0 if it did not and -1 if a handshake is currently in
24e71b7053SJung-uk Kimprogress i.e. it is not possible to determine if extended master secret
25e71b7053SJung-uk Kimwas used.
26e71b7053SJung-uk Kim
27e71b7053SJung-uk Kim=head1 SEE ALSO
28e71b7053SJung-uk Kim
29e71b7053SJung-uk KimL<ssl(7)>
30e71b7053SJung-uk Kim
31e71b7053SJung-uk Kim=head1 COPYRIGHT
32e71b7053SJung-uk Kim
33e71b7053SJung-uk KimCopyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
34e71b7053SJung-uk Kim
35*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
36e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
37e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
38e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
39e71b7053SJung-uk Kim
40e71b7053SJung-uk Kim=cut
41