From 63f70f47a7a80e4c253cc3cabaaf5c43f5b89509 Mon Sep 17 00:00:00 2001 From: RSA-1977 Date: Fri, 24 Jan 2025 12:09:56 -0500 Subject: [PATCH] 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) --- doc/man3/SSL_SESSION_get0_hostname.pod | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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. -- 2.47.2