mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-25 10:09:36 +02:00 
			
		
		
		
	This commit is contained in:
		 Aleksandar Fabijanic
					Aleksandar Fabijanic
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							c77d021790
						
					
				
				
					commit
					59afdc2c04
				
			| @@ -189,7 +189,11 @@ void Context::init(const Params& params) | |||||||
| 		else | 		else | ||||||
| 			SSL_CTX_set_verify(_pSSLContext, params.verificationMode, &SSLManager::verifyClientCallback); | 			SSL_CTX_set_verify(_pSSLContext, params.verificationMode, &SSLManager::verifyClientCallback); | ||||||
|  |  | ||||||
|  | #if OPENSSL_VERSION_NUMBER >= 0x30000000L | ||||||
|  | 		SSL_CTX_set_ciphersuites(_pSSLContext, params.cipherList.c_str()); | ||||||
|  | #else | ||||||
| 		SSL_CTX_set_cipher_list(_pSSLContext, params.cipherList.c_str()); | 		SSL_CTX_set_cipher_list(_pSSLContext, params.cipherList.c_str()); | ||||||
|  | #endif // OPENSSL_VERSION_NUMBER >= 0x30000000L | ||||||
| 		SSL_CTX_set_verify_depth(_pSSLContext, params.verificationDepth); | 		SSL_CTX_set_verify_depth(_pSSLContext, params.verificationDepth); | ||||||
| 		SSL_CTX_set_mode(_pSSLContext, SSL_MODE_AUTO_RETRY); | 		SSL_CTX_set_mode(_pSSLContext, SSL_MODE_AUTO_RETRY); | ||||||
| 		SSL_CTX_set_session_cache_mode(_pSSLContext, SSL_SESS_CACHE_OFF); | 		SSL_CTX_set_session_cache_mode(_pSSLContext, SSL_SESS_CACHE_OFF); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user