156a872233
Document SSL_get_extms_support(). Modify behaviour of SSL_get_extms_support() so it returns -1 if the master secret support of the peer is not known (e.g. handshake in progress). Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
34 lines
604 B
Plaintext
34 lines
604 B
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
SSL_get_extms_support - extended master secret support
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
int SSL_get_extms_support(SSL *ssl);
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
SSL_get_extms_support() indicates whether the current session used extended
|
|
master secret.
|
|
|
|
This function is implemented as a macro.
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
SSL_get_extms_support() returns 1 if the current session used extended
|
|
master secret, 0 if it did not and -1 if a handshake is currently in
|
|
progress i.e. it is not possible to determine if extended master secret
|
|
was used.
|
|
|
|
=back
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<ssl(3)|ssl(3)>
|
|
|
|
=cut
|