The unified diff between revisions [fdd44441..] and [1d86a4f0..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'common-session.c'

#
#
# patch "common-session.c"
#  from [f88bf6d805c423879d9fd1d9d6e4e19b506bac21]
#    to [2469aa8351074283ffeaaf89f3c56a87f15cc0ed]
#
============================================================
--- common-session.c	f88bf6d805c423879d9fd1d9d6e4e19b506bac21
+++ common-session.c	2469aa8351074283ffeaaf89f3c56a87f15cc0ed
@@ -62,7 +62,6 @@ void common_session_init(int sock, char*
 	ses.connecttimeout = 0;

 	kexfirstinitialise(); /* initialise the kex state */
-	chaninitialise(); /* initialise the channel state */

 	ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN);
 	ses.transseq = 0;
@@ -126,7 +125,7 @@ void session_loop(void(*loophandler)())
 		timeout.tv_usec = 0;
 		FD_ZERO(&writefd);
 		FD_ZERO(&readfd);
-		assert(ses.payload == NULL);
+		dropbear_assert(ses.payload == NULL);
 		if (ses.sock != -1) {
 			FD_SET(ses.sock, &readfd);
 			if (!isempty(&ses.writequeue)) {