diff session.h @ 742:cd201dc2da9a kexguess

merge
author Matt Johnston <matt@ucc.asn.au>
date Sun, 31 Mar 2013 00:41:15 +0800
parents eafdf8b363f5 78eda530c000
children 09c5eb71ec96
line wrap: on
line diff
--- a/session.h	Sat Mar 30 23:55:05 2013 +0800
+++ b/session.h	Sun Mar 31 00:41:15 2013 +0800
@@ -45,7 +45,7 @@
 void common_session_init(int sock_in, int sock_out);
 void session_loop(void(*loophandler)());
 void common_session_cleanup();
-void session_identification();
+void send_session_identification();
 void send_msg_ignore();
 
 const char* get_user_shell();
@@ -111,7 +111,10 @@
 	int sock_in;
 	int sock_out;
 
-	unsigned char *remoteident;
+	/* remotehost will be initially NULL as we delay
+	 * reading the remote version string. it will be set
+	 * by the time any recv_() packet methods are called */
+	unsigned char *remoteident; 
 
 	int maxfd; /* the maximum file descriptor to check with select() */