Improve WorkSSL:

Support Server Name Indication
Ensure windows uses available certificates
This commit is contained in:
Brad Chase
2017-11-17 10:36:00 -05:00
parent 25b002b37f
commit a4a43a4de9
14 changed files with 210 additions and 27 deletions

View File

@@ -89,7 +89,7 @@ Env::AppBundle::AppBundle(beast::unit_test::suite& suite,
std::make_unique<ManualTimeKeeper>();
timeKeeper = timeKeeper_.get();
// Hack so we don't have to call Config::setup
HTTPClient::initializeSSLContext(*config);
HTTPClient::initializeSSLContext(*config, debugLog());
owned = make_Application(std::move(config),
std::move(logs), std::move(timeKeeper_));
app = owned.get();