mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Fixed #155
This commit is contained in:
parent
75989653a9
commit
d4936a2c78
1 changed files with 2 additions and 1 deletions
|
@ -2472,7 +2472,8 @@ SSLClient::verify_host_with_subject_alt_name(X509 *server_cert) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto alt_names =
|
auto alt_names =
|
||||||
X509_get_ext_d2i(server_cert, NID_subject_alt_name, nullptr, nullptr);
|
static_cast<const struct stack_st_GENERAL_NAME *>(
|
||||||
|
X509_get_ext_d2i(server_cert, NID_subject_alt_name, nullptr, nullptr));
|
||||||
|
|
||||||
if (alt_names) {
|
if (alt_names) {
|
||||||
auto dsn_matched = false;
|
auto dsn_matched = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue