diff options
author | otto@openbsd.org <otto@openbsd.org> | 2019-06-06 05:13:13 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-06-08 00:25:42 +1000 |
commit | 0323d9b619d512f80c57575b810a05791891f657 (patch) | |
tree | 6bde14513c6fe9ff37d069325ee6baac112b6b60 /sshd.c | |
parent | c586d2d3129265ea64b12960c379d634bccb6535 (diff) |
upstream: 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@
OpenBSD-Commit-ID: 154f4e3e174f614b09f792d4d06575e08de58a6b
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.534 2019/04/18 18:56:16 dtucker Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.535 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 |
@@ -1433,8 +1433,6 @@ main(int ac, char **av) | |||
1433 | Authctxt *authctxt; | 1433 | Authctxt *authctxt; |
1434 | struct connection_info *connection_info = NULL; | 1434 | struct connection_info *connection_info = NULL; |
1435 | 1435 | ||
1436 | ssh_malloc_init(); /* must be called before any mallocs */ | ||
1437 | |||
1438 | #ifdef HAVE_SECUREWARE | 1436 | #ifdef HAVE_SECUREWARE |
1439 | (void)set_auth_parameters(ac, av); | 1437 | (void)set_auth_parameters(ac, av); |
1440 | #endif | 1438 | #endif |