summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index ac9c808dd..9cf298918 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-add.c,v 1.138 2019/01/21 12:53:35 djm Exp $ */ 1/* $OpenBSD: ssh-add.c,v 1.139 2019/06/06 05:13:13 otto Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -575,7 +575,6 @@ main(int argc, char **argv)
575 SyslogFacility log_facility = SYSLOG_FACILITY_AUTH; 575 SyslogFacility log_facility = SYSLOG_FACILITY_AUTH;
576 LogLevel log_level = SYSLOG_LEVEL_INFO; 576 LogLevel log_level = SYSLOG_LEVEL_INFO;
577 577
578 ssh_malloc_init(); /* must be called before any mallocs */
579 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ 578 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
580 sanitise_stdfd(); 579 sanitise_stdfd();
581 580