summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-07-22 10:45:47 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-07-27 16:22:30 +1000
commit1bdf86725b77733bb5f17c54888b88a10b2f6538 (patch)
tree4cb44bfc610452539f465a318cba33627422bf8f /sftp.c
parentd73f77b8cb9b422f1ac4facee7890aa10ff2bc21 (diff)
downloadopenssh-git-1bdf86725b77733bb5f17c54888b88a10b2f6538.tar.gz
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.c')
-rw-r--r--sftp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index c880f166..939b8dc0 100644
--- a/sftp.c
+++ b/sftp.c
@@ -2406,8 +2406,6 @@ main(int argc, char **argv)
sanitise_stdfd();
msetlocale();
- seed_rng();
-
__progname = ssh_get_progname(argv[0]);
memset(&args, '\0', sizeof(args));
args.list = NULL;