diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-07-22 02:45:47 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-07-27 08:22:30 +0200 |
commit | 1bdf86725b77733bb5f17c54888b88a10b2f6538 (patch) | |
tree | 4cb44bfc610452539f465a318cba33627422bf8f /sftp-server-main.c | |
parent | Group libcrypto and PRNGD checks together. (diff) | |
download | openssh-1bdf86725b77733bb5f17c54888b88a10b2f6538.tar.xz openssh-1bdf86725b77733bb5f17c54888b88a10b2f6538.zip |
Remove seed_rng calls from scp, sftp, sftp-server.
These binaries don't use OpenSSL's random functions. The next step
will be to stop linking them against libcrypto. ok djm@
Diffstat (limited to 'sftp-server-main.c')
-rw-r--r-- | sftp-server-main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sftp-server-main.c b/sftp-server-main.c index 06566d36e..2c70f89bc 100644 --- a/sftp-server-main.c +++ b/sftp-server-main.c @@ -42,8 +42,6 @@ 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()); |