Clarify the description of the NULL argument in SSL_set1_host().

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10253)
This commit is contained in:
Pauli 2019-10-28 22:16:50 +10:00
parent 465a58b117
commit 2d3c5ee161

View File

@ -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<name> clearing
any previously specified hostname. If B<name> is NULL,
or the empty string the list of hostnames is cleared, and name
any previously specified hostname. If B<name> 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<name> is specified, certificate verification automatically checks
the peer hostname via L<X509_check_host(3)> with B<flags> as specified