mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-26 16:32:45 +01:00
use TLS_CLIENT_USE instead of CLIENT_USE
This commit is contained in:
parent
4a45cfe05b
commit
f472d3ae52
@ -79,7 +79,7 @@ int main(int argc, char** argv)
|
||||
|
||||
// Note: we must create the passphrase handler prior Context
|
||||
SharedPtr<InvalidCertificateHandler> ptrCert = new ConsoleCertificateHandler(false); // ask the user via console
|
||||
Context::Ptr ptrContext = new Context(Context::CLIENT_USE, "", "", "rootcert.pem", Context::VERIFY_RELAXED, 9, false, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
|
||||
Context::Ptr ptrContext = new Context(Context::TLS_CLIENT_USE, "", "", "rootcert.pem", Context::VERIFY_RELAXED, 9, false, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
|
||||
SSLManager::instance().initializeClient(0, ptrCert, ptrContext);
|
||||
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user