blob: 60ea8e16d851f4ecbfaefc61749d69295b59b791 [file] [log] [blame]
Dr. Stephen Henson156a8722015-01-24 17:09:55 +00001=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
Dr. Stephen Henson156a8722015-01-24 17:09:55 +000027=head1 SEE ALSO
28
Richard Levitteb97fdb52016-11-11 09:33:09 +010029L<ssl(7)>
Dr. Stephen Henson156a8722015-01-24 17:09:55 +000030
Rich Salze2f92612016-05-18 11:44:05 -040031=head1 COPYRIGHT
32
33Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
34
Richard Levitte4746f252018-12-06 14:04:44 +010035Licensed under the Apache License 2.0 (the "License"). You may not use
Rich Salze2f92612016-05-18 11:44:05 -040036this 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