adium 5106:714d387a8287: Sometimes it helps if we use the right ...

commits at adium.im commits at adium.im
Tue Oct 9 22:09:40 UTC 2012


details:	http://hg.adium.im/adium/rev/714d387a8287
revision:	5106:714d387a8287
branch:		adium-1.5.4
author:		Evan Kinney <emkinney at gmail.com>
date:		Tue Oct 09 18:00:38 2012 -0400

Sometimes it helps if we use the right error constant when trying to work around TLS bugs.

diffs (12 lines):

diff -r bbb8df83a7cd -r 714d387a8287 Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c
--- a/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c	Tue Oct 09 22:46:31 2012 +0200
+++ b/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c	Tue Oct 09 18:00:38 2012 -0400
@@ -140,7 +140,7 @@
 	 * here and there.
 	 */
 	err = SSLHandshake(cdsa_data->ssl_ctx);
-    if (err == errSSLBadRecordMac) {
+    if (err == errSSLPeerBadRecordMac) {
         /*
          * try explicitly forcing TLS 1.0/SSL 3.0 to (maybe) make buggy servers work
          */




More information about the commits mailing list