mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
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:
parent
465a58b117
commit
2d3c5ee161
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user