From 2d3c5ee161627ebc31dd311f3361bcb088b36542 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 28 Oct 2019 22:16:50 +1000 Subject: [PATCH] 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) --- doc/man3/SSL_set1_host.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1