mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] *** empty log message ***
This commit is contained in:
parent
7bde962912
commit
4f38e39228
@ -446,8 +446,8 @@ ssl_check_server_identity (int fd, const char *host)
|
|||||||
of type dNSName is present, that MUST be used as the identity."
|
of type dNSName is present, that MUST be used as the identity."
|
||||||
|
|
||||||
- When matching against common names, it should loop over all
|
- When matching against common names, it should loop over all
|
||||||
common names and choose the most specific (apparently the last
|
common names and choose the most specific one, i.e. the last
|
||||||
one). */
|
one, not the first one, which the current code picks. */
|
||||||
|
|
||||||
peer_CN[0] = '\0';
|
peer_CN[0] = '\0';
|
||||||
X509_NAME_get_text_by_NID (X509_get_subject_name (peer_cert),
|
X509_NAME_get_text_by_NID (X509_get_subject_name (peer_cert),
|
||||||
@ -471,4 +471,3 @@ ssl_check_server_identity (int fd, const char *host)
|
|||||||
/* Allow --no-check-cert to disable certificate checking. */
|
/* Allow --no-check-cert to disable certificate checking. */
|
||||||
return opt.check_cert ? retval : 1;
|
return opt.check_cert ? retval : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user