From: Rich Salz Date: Mon, 11 Apr 2016 14:17:38 +0000 (-0400) Subject: Write POD page. X-Git-Tag: OpenSSL_1_1_0-pre5~26 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=cd1a88b3279a633f16c1a177574a83123c89c8b8 Write POD page. Reviewed-by: Richard Levitte --- 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