summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2019-06-06 05:13:13 +0000
committerotto <otto@openbsd.org>2019-06-06 05:13:13 +0000
commiteedc3e89a813e007ee20d011314f613a59bb057c (patch)
tree91f31197e6edab09a4fae8689c84c9320e2be906 /usr.bin/ssh/ssh-agent.c
parentConnectX-5 cards work too (diff)
downloadwireguard-openbsd-eedc3e89a813e007ee20d011314f613a59bb057c.tar.xz
wireguard-openbsd-eedc3e89a813e007ee20d011314f613a59bb057c.zip
Replace calls to ssh_malloc_init() by a static init of malloc_options.
Prepares for changes in the way malloc is initialized. ok guenther@ dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r--usr.bin/ssh/ssh-agent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index 7ff32ebb179..1efb3e56954 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.233 2019/01/22 22:58:50 djm Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.234 2019/06/06 05:13:13 otto Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1079,7 +1079,6 @@ main(int ac, char **av)
size_t npfd = 0;
u_int maxfds;
- ssh_malloc_init(); /* must be called before any mallocs */
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
sanitise_stdfd();