diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index c3ec4f882..478520123 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.287 2015/12/11 03:19:09 djm Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.288 2016/02/15 09:47:49 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -2261,6 +2261,7 @@ main(int argc, char **argv) | |||
2261 | extern int optind; | 2261 | extern int optind; |
2262 | extern char *optarg; | 2262 | extern char *optarg; |
2263 | 2263 | ||
2264 | ssh_malloc_init(); /* must be called before any mallocs */ | ||
2264 | /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ | 2265 | /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ |
2265 | sanitise_stdfd(); | 2266 | sanitise_stdfd(); |
2266 | 2267 | ||