From: RSA-1977 Date: Fri, 24 Jan 2025 17:09:56 +0000 (-0500) Subject: Updated SSL_SESSION_get0_hostname() documentation to be consistent with the function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdf39cc7dbe754f65084c940ae9157196d66bca;p=thirdparty%2Fopenssl.git Updated SSL_SESSION_get0_hostname() documentation to be consistent with the function CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/26559) (cherry picked from commit 8d6fd6142b0b55ce029df6d7b63dda5f7cb8ce54) --- diff --git a/doc/man3/SSL_SESSION_get0_hostname.pod b/doc/man3/SSL_SESSION_get0_hostname.pod index f560e7751d8..e2d0540582b 100644 --- a/doc/man3/SSL_SESSION_get0_hostname.pod +++ b/doc/man3/SSL_SESSION_get0_hostname.pod @@ -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 and should not be free'd.