summaryrefslogtreecommitdiff
path: root/sftp-server-main.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-07-14 19:20:24 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-07-14 19:22:47 +1000
commita061792a6e8d235fc40a9b5d4c22a1762bb75a7b (patch)
tree3f7b769b754b089f8b102c708c28b95abd626859 /sftp-server-main.c
parent527cb43fa1b4e55df661feabbac51b8e608b6519 (diff)
downloadopenssh-git-a061792a6e8d235fc40a9b5d4c22a1762bb75a7b.tar.gz
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.
Diffstat (limited to 'sftp-server-main.c')
-rw-r--r--sftp-server-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sftp-server-main.c b/sftp-server-main.c
index 2c70f89b..06566d36 100644
--- a/sftp-server-main.c
+++ b/sftp-server-main.c
@@ -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());