Browse Source

Updated test.cc

yhirose 4 years ago
parent
commit
33e94891ee
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/test.cc

+ 1 - 0
test/test.cc

@@ -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);