Skip to content

Commit

Permalink
Updated SSL_SESSION_get0_hostname() documentation to be consistent wi…
Browse files Browse the repository at this point in the history
…th the function

CLA: trivial

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Tim Hudson <[email protected]>
(Merged from openssl/openssl#26559)
  • Loading branch information
RSA-1977 authored and t8m committed Mar 5, 2025
1 parent c0251d7 commit 8d6fd61
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/man3/SSL_SESSION_get0_hostname.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8d6fd61

Please sign in to comment.