mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
fixed cert chain verification and samples
This commit is contained in:
@@ -75,7 +75,7 @@ int main(int argc, char** argv)
|
||||
|
||||
SharedPtr<InvalidCertificateHandler> pCertHandler = new ConsoleCertificateHandler(false); // ask the user via console
|
||||
Context::Ptr pContext = new Context(Context::CLIENT_USE, "");
|
||||
SSLManager::instance().initializeClient(pCertHandler, pContext);
|
||||
SSLManager::instance().initializeClient(0, pCertHandler, pContext);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user