diff common-session.c @ 33:f789045062e6

Progressing client support
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Jul 2004 16:30:46 +0000
parents 0969767bca0d
children e2a1eaa19f22
line wrap: on
line diff
--- a/common-session.c	Tue Jul 27 15:12:29 2004 +0000
+++ b/common-session.c	Tue Jul 27 16:30:46 2004 +0000
@@ -45,8 +45,6 @@
 /* this is set when we get SIGINT or SIGTERM, the handler is in main.c */
 int exitflag = 0; /* GLOBAL */
 
-void(*session_remoteclosed)() = NULL;
-
 
 static void checktimeouts();
 static int ident_readln(int fd, char* buf, int count);
@@ -63,7 +61,7 @@
 
 	ses.connecttimeout = 0;
 	
-	kexinitialise(); /* initialise the kex state */
+	kexfirstinitialise(); /* initialise the kex state */
 	chaninitialise(); /* initialise the channel state */
 
 	ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN);
@@ -104,8 +102,6 @@
 	ses.dh_K = NULL;
 	ses.remoteident = NULL;
 
-	ses.authdone = 0;
-
 	ses.chantypes = NULL;
 
 	ses.allowprivport = 0;