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: 'svr-main.c'
#
#
# patch "svr-main.c"
# from [5c0e59de51df9c03a47947b7dcd100053623bfd3]
# to [018c4a2cc2dd9cee3cca8b162ec50551fd7a30be]
#
============================================================
--- svr-main.c 5c0e59de51df9c03a47947b7dcd100053623bfd3
+++ svr-main.c 018c4a2cc2dd9cee3cca8b162ec50551fd7a30be
@@ -83,7 +83,7 @@ static void main_inetd() {
int remoteaddrlen;
char * addrstring = NULL;
- /* Set up handlers, syslog */
+ /* Set up handlers, syslog, seed random */
commonsetup();
remoteaddrlen = sizeof(remoteaddr);
@@ -359,6 +359,8 @@ static void commonsetup() {
/* Now we can setup the hostkeys - needs to be after logging is on,
* otherwise we might end up blatting error messages to the socket */
loadhostkeys();
+
+ seedrandom();
}
/* Set up listening sockets for all the requested ports */