summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index a23276f53..7fe61e4e1 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keyscan.c,v 1.104 2015/11/08 23:24:03 jmc Exp $ */ 1/* $OpenBSD: ssh-keyscan.c,v 1.105 2016/02/15 09:47:49 dtucker Exp $ */
2/* 2/*
3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4 * 4 *
@@ -696,6 +696,7 @@ main(int argc, char **argv)
696 extern int optind; 696 extern int optind;
697 extern char *optarg; 697 extern char *optarg;
698 698
699 ssh_malloc_init(); /* must be called before any mallocs */
699 __progname = ssh_get_progname(argv[0]); 700 __progname = ssh_get_progname(argv[0]);
700 seed_rng(); 701 seed_rng();
701 TAILQ_INIT(&tq); 702 TAILQ_INIT(&tq);