From: Pauli Date: Mon, 28 Oct 2019 12:16:50 +0000 (+1000) Subject: Clarify the description of the NULL argument in SSL_set1_host(). X-Git-Tag: openssl-3.0.0-alpha1~1078 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d3c5ee161627ebc31dd311f3361bcb088b36542;p=oweals%2Fopenssl.git Clarify the description of the NULL argument in SSL_set1_host(). Reviewed-by: Richard Levitte Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/10253) --- diff --git a/doc/man3/SSL_set1_host.pod b/doc/man3/SSL_set1_host.pod index d05127deaa..14cf72f4c6 100644 --- a/doc/man3/SSL_set1_host.pod +++ b/doc/man3/SSL_set1_host.pod @@ -19,8 +19,8 @@ SSL server verification parameters These functions configure server hostname checks in the SSL client. SSL_set1_host() sets the expected DNS hostname to B clearing -any previously specified hostname. If B is NULL, -or the empty string the list of hostnames is cleared, and name +any previously specified hostname. If B is NULL +or the empty string, the list of hostnames is cleared and name checks are not performed on the peer certificate. When a non-empty B is specified, certificate verification automatically checks the peer hostname via L with B as specified