diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-07-14 11:20:24 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-07-14 11:22:47 +0200 |
commit | a061792a6e8d235fc40a9b5d4c22a1762bb75a7b (patch) | |
tree | 3f7b769b754b089f8b102c708c28b95abd626859 /sftp-server-main.c | |
parent | Return ERANGE from getcwd() if buffer size is 1. (diff) | |
download | openssh-a061792a6e8d235fc40a9b5d4c22a1762bb75a7b.tar.xz openssh-a061792a6e8d235fc40a9b5d4c22a1762bb75a7b.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sftp-server-main.c b/sftp-server-main.c index 2c70f89bc..06566d36e 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()); |