The unified diff between revisions [4cbdd6e0..] and [4c883eb4..] is displayed below. It can also be downloaded as a raw diff.

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

#
#
# patch "cli-session.c"
#  from [49416025c7fc3883ad9b8975474ad68307b24717]
#    to [74a7cf84c59c70bc92142ba7d75aa49f8be2fa2b]
#
============================================================
--- cli-session.c	49416025c7fc3883ad9b8975474ad68307b24717
+++ cli-session.c	74a7cf84c59c70bc92142ba7d75aa49f8be2fa2b
@@ -76,12 +76,14 @@ void cli_session(int sock, char* remoteh

 void cli_session(int sock, char* remotehost) {

+	seedrandom();
+
 	crypto_init();
+
 	common_session_init(sock, remotehost);

 	chaninitialise(cli_chantypes);

-
 	/* Set up cli_ses vars */
 	cli_session_init();

@@ -91,12 +93,8 @@ void cli_session(int sock, char* remoteh
 	/* Exchange identification */
 	session_identification();

-	seedrandom();
-
 	send_msg_kexinit();

-	/* XXX here we do stuff differently */
-
 	session_loop(cli_sessionloop);

 	/* Not reached */