5 SSL_SESSION_get0_hostname - retrieve the SNI hostname associated with a session
9 #include <openssl/ssl.h>
11 const char *SSL_SESSION_get0_hostname(const SSL_SESSSION *s);
15 SSL_SESSION_get0_hostname() retrieves the SNI value that was sent by the
16 client when the session was created, or NULL if no value was sent.
18 The value returned is a pointer to memory maintained within B<s> and
24 L<d2i_SSL_SESSION(3)>,
25 L<SSL_SESSION_get_time(3)>,
26 L<SSL_SESSION_free(3)>