mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
				synced 2025-11-03 20:18:01 +00:00 
			
		
		
		
	compile fix: doesn't compile after latest NetSSL refactoring
This commit is contained in:
		@@ -151,8 +151,8 @@ void RSATest::createRSACipherLarge()
 | 
				
			|||||||
void RSATest::testCertificate()
 | 
					void RSATest::testCertificate()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	X509Certificate cert("any.pem");
 | 
						X509Certificate cert("any.pem");
 | 
				
			||||||
	Context::Ptr pContext(new Context("", "", false));
 | 
						//Context::Ptr pContext(new Context(Context::SERVER_USE,"", "", false));
 | 
				
			||||||
	bool ok = cert.verify("www.appinf.com", pContext);
 | 
						bool ok = cert.verify("www.appinf.com");
 | 
				
			||||||
	RSAKey key(cert);
 | 
						RSAKey key(cert);
 | 
				
			||||||
	Cipher::Ptr pCipher = CipherFactory::defaultFactory().createCipher(key);
 | 
						Cipher::Ptr pCipher = CipherFactory::defaultFactory().createCipher(key);
 | 
				
			||||||
	std::string val("lets do some encryption");
 | 
						std::string val("lets do some encryption");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user