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