I inadvertently included a couple of local changes with the OpenSSL
3.0.4 change. Revert, anything that should be there will be committed
separately.
fail "ssh-keyscan -t $t failed with: $r"
fi
done
-
-stop_sshd
-sleep 1
-
-trace "keyscan banner length"
-banner=""
-for i in `seq 245 256`; do
- trace "keyscan length $i"
- banner=`perl -le "print 'A'x$i"`
- (printf "SSH-2.0-${banner}" | ${NC} -N -l $PORT >/dev/null) &
- ${SSHKEYSCAN} -p $PORT 127.0.0.1
- sleep 3
-done
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
sanitise_stdfd();
+ seed_rng();
+
if ((user_pw = getpwuid(getuid())) == NULL) {
fprintf(stderr, "No user found for uid %lu\n",
(u_long)getuid());