summaryrefslogtreecommitdiff
path: root/sftp-server-main.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-07-13 13:17:47 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-07-13 13:17:47 +1000
commit76f4e48631d7b09fb243b47d7b393d100d3741b7 (patch)
tree55d488c1e7fc3ea317257c04a5944330cfe5e24b /sftp-server-main.c
parente75bbc1d88491fa85e61b2cc8783d4bbd00cd131 (diff)
downloadopenssh-git-76f4e48631d7b09fb243b47d7b393d100d3741b7.tar.gz
Only refuse to use OpenSSL 3.0.4 on x86_64.
The potential RCE only impacts x86_64, so only refuse to use it if we're targetting a potentially impacted architecture. ok djm@
Diffstat (limited to 'sftp-server-main.c')
-rw-r--r--sftp-server-main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sftp-server-main.c b/sftp-server-main.c
index 06566d36..2c70f89b 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());