mirror of https://github.com/openssl/openssl.git
Updated SSL_SESSION_get0_hostname() documentation to be consistent with the function
CLA: trivial
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26559)
(cherry picked from commit 8d6fd6142b
)
This commit is contained in:
parent
73c66d8b4c
commit
6fdf39cc7d
|
@ -24,10 +24,8 @@ SSL_SESSION_set1_alpn_selected
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
SSL_SESSION_get0_hostname() retrieves the SNI value that was sent by the
|
SSL_SESSION_get0_hostname() retrieves the SNI value that was sent by the
|
||||||
client when the session was created if it was accepted by the server and TLSv1.2
|
client when the session was created if it was accepted by the server. Otherwise
|
||||||
or below was negotiated. Otherwise NULL is returned. Note that in TLSv1.3 the
|
NULL is returned.
|
||||||
SNI hostname is negotiated with each handshake including resumption handshakes
|
|
||||||
and is therefore never associated with the session.
|
|
||||||
|
|
||||||
The value returned is a pointer to memory maintained within B<s> and
|
The value returned is a pointer to memory maintained within B<s> and
|
||||||
should not be free'd.
|
should not be free'd.
|
||||||
|
|
Loading…
Reference in New Issue