adium 5881:5a62e233115d: Backing out e9b20f65795c, this is no lo...

commits at adium.im commits at adium.im
Tue Jun 3 19:12:18 UTC 2014


details:	http://hg.adium.im/adium/rev/5a62e233115d
revision:	5881:5a62e233115d
branch:		adium-1.5.11
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Tue Jun 03 21:11:02 2014 +0200

Backing out e9b20f65795c, this is no longer necessary.

diffs (19 lines):

diff -r 5a28350c3d82 -r 5a62e233115d Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c
--- a/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c	Tue Jun 03 21:04:55 2014 +0200
+++ b/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c	Tue Jun 03 21:11:02 2014 +0200
@@ -231,14 +231,7 @@
         bytesRead = 0;
         rrtn = read(sock, currData, bytesToGo);
 		if (rrtn == 0) {
-			/* We got an EOF. However, when we have already read some bytes in a previous iteration of this loop,
-			 * then we should return noErr to make sure CDSA processes all that data.
-			 * When initLen is still equal to bytesToGo, we haven't read anything, so we can inform CDSA that we're
-			 * closed.
-			 */
-			if (initLen == bytesToGo) {
-				rtn = errSSLClosedGraceful;
-			}
+			rtn = errSSLClosedGraceful;
 			break;
 		} else if (rrtn < 0) {
             /* this is guesswork... */




More information about the commits mailing list