mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
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)
This commit is contained in:
parent
c0251d7b0f
commit
8d6fd6142b
@ -24,10 +24,8 @@ SSL_SESSION_set1_alpn_selected
|
||||
=head1 DESCRIPTION
|
||||
|
||||
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
|
||||
or below was negotiated. Otherwise NULL is returned. Note that in TLSv1.3 the
|
||||
SNI hostname is negotiated with each handshake including resumption handshakes
|
||||
and is therefore never associated with the session.
|
||||
client when the session was created if it was accepted by the server. Otherwise
|
||||
NULL is returned.
|
||||
|
||||
The value returned is a pointer to memory maintained within B<s> and
|
||||
should not be free'd.
|
||||
|
Loading…
x
Reference in New Issue
Block a user