mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merged revisions 295440 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r295440 | pabelanger | 2010-11-18 12:51:34 -0500 (Thu, 18 Nov 2010) | 4 lines Fix compiler warnings when using openssl-dev 1.0.0+ Review: https://reviewboard.asterisk.org/r/1016/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@295441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1244,7 +1244,7 @@ static int aji_tls_handshake(struct aji_client *client) | ||||
|  | ||||
| 	/* Choose an SSL/TLS protocol version, create SSL_CTX */ | ||||
| 	client->ssl_method = SSLv3_method(); | ||||
| 	if (!(client->ssl_context = SSL_CTX_new(client->ssl_method))) { | ||||
| 	if (!(client->ssl_context = SSL_CTX_new((SSL_METHOD *) client->ssl_method))) { | ||||
| 		return IKS_NET_TLSFAIL; | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user