From cd1a88b3279a633f16c1a177574a83123c89c8b8 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 11 Apr 2016 10:17:38 -0400 Subject: [PATCH] Write POD page. Reviewed-by: Richard Levitte --- doc/ssl/SSL_SESSION_get_hostname.pod | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/ssl/SSL_SESSION_get_hostname.pod diff --git a/doc/ssl/SSL_SESSION_get_hostname.pod b/doc/ssl/SSL_SESSION_get_hostname.pod new file mode 100644 index 0000000000..8b739e30a2 --- /dev/null +++ b/doc/ssl/SSL_SESSION_get_hostname.pod @@ -0,0 +1,28 @@ +=pod + +=head1 NAME + +SSL_SESSION_get0_hostname - retrieve the SNI hostname associated with a session + +=head1 SYNOPSIS + + #include + + const char *SSL_SESSION_get0_hostname(const SSL_SESSSION *s); + +=head1 DESCRIPTION + +SSL_SESSION_get0_hostname() retrieves the SNI value that was sent by the +client when the session was created, or NULL if no value was sent. + +The value returned is a pointer to memory maintained within B and +should not be free'd. + +=head1 SEE ALSO + +L, +L, +L, +L + +=cut -- 2.25.1