mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Updated test.cc
This commit is contained in:
parent
73e0729f63
commit
33e94891ee
1 changed files with 1 additions and 0 deletions
|
@ -3880,6 +3880,7 @@ TEST(SSLClientTest, WildcardHostNameMatch) {
|
||||||
|
|
||||||
cli.set_ca_cert_path(CA_CERT_FILE);
|
cli.set_ca_cert_path(CA_CERT_FILE);
|
||||||
cli.enable_server_certificate_verification(true);
|
cli.enable_server_certificate_verification(true);
|
||||||
|
cli.set_follow_location(true);
|
||||||
|
|
||||||
auto res = cli.Get("/");
|
auto res = cli.Get("/");
|
||||||
ASSERT_TRUE(res);
|
ASSERT_TRUE(res);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue