mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-29 12:18:01 +01:00 
			
		
		
		
	NetSSL library refactoring
This commit is contained in:
		| @@ -1,13 +1,13 @@ | ||||
| // | ||||
| // AcceptCertificateHandler.cpp | ||||
| // | ||||
| // $Id: //poco/svn/NetSSL_OpenSSL/src/AcceptCertificateHandler.cpp#1 $ | ||||
| // $Id: //poco/Main/NetSSL_OpenSSL/src/AcceptCertificateHandler.cpp#11 $ | ||||
| // | ||||
| // Library: NetSSL_OpenSSL | ||||
| // Package: SSLCore | ||||
| // Module:  AcceptCertificateHandler | ||||
| // | ||||
| // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. | ||||
| // Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH. | ||||
| // and Contributors. | ||||
| // | ||||
| // Permission is hereby granted, free of charge, to any person or organization | ||||
| @@ -41,7 +41,7 @@ namespace Poco { | ||||
| namespace Net { | ||||
|  | ||||
|  | ||||
| AcceptCertificateHandler::AcceptCertificateHandler(bool server):InvalidCertificateHandler(server) | ||||
| AcceptCertificateHandler::AcceptCertificateHandler(bool server): InvalidCertificateHandler(server) | ||||
| { | ||||
| } | ||||
|  | ||||
| @@ -51,4 +51,10 @@ AcceptCertificateHandler::~AcceptCertificateHandler() | ||||
| } | ||||
|  | ||||
|  | ||||
| void AcceptCertificateHandler::onInvalidCertificate(const void*, VerificationErrorArgs& errorCert) | ||||
| { | ||||
| 	errorCert.setIgnoreError(true); | ||||
| } | ||||
|  | ||||
|  | ||||
| } } // namespace Poco::Net | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Guenter Obiltschnig
					Guenter Obiltschnig