mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
Remove unintended changes.
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.
This commit is contained in:
parent
527cb43fa1
commit
a061792a6e
@ -23,16 +23,3 @@ for t in $SSH_KEYTYPES; do
|
||||
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
|
||||
|
@ -42,6 +42,8 @@ main(int argc, char **argv)
|
||||
/* 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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user