adium 5692:7c54087cdcb6: This should be enabled, not supported. ...

commits at adium.im commits at adium.im
Sat Sep 7 22:59:36 UTC 2013


details:	http://hg.adium.im/adium/rev/7c54087cdcb6
revision:	5692:7c54087cdcb6
branch:		adium-1.5.8
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Sun Sep 08 00:59:15 2013 +0200

This should be enabled, not supported. We want the ciphers that are enabled by default.

diffs (21 lines):

diff -r e4fc339297bc -r 7c54087cdcb6 Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c
--- a/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c	Sun Sep 08 00:13:47 2013 +0200
+++ b/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c	Sun Sep 08 00:59:15 2013 +0200
@@ -440,7 +440,7 @@
 	
 	size_t numCiphers = 0;
 	
-	err = SSLGetNumberSupportedCiphers(cdsa_data->ssl_ctx, &numCiphers);
+	err = SSLGetNumberEnabledCiphers(cdsa_data->ssl_ctx, &numCiphers);
 	
 	if (err != noErr) {
 		purple_debug_error("cdsa", "SSLGetNumberEnabledCiphers failed: %d\n", err);
@@ -454,7 +454,7 @@
 	
 	SSLCipherSuite ciphers[numCiphers];
     
-    err = SSLGetSupportedCiphers(cdsa_data->ssl_ctx, ciphers, &numCiphers);
+    err = SSLGetEnabledCiphers(cdsa_data->ssl_ctx, ciphers, &numCiphers);
 	if (err != noErr) {
 		purple_debug_error("cdsa", "SSLGetSupportedCiphers failed: %d\n", err);
         if (gsc->error_cb != NULL)




More information about the commits mailing list