summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authordjm <djm>2004-03-08 12:13:00 +0000
committerdjm <djm>2004-03-08 12:13:00 +0000
commit8a7b52dd388789c488b8341d71b6e11a44397a32 (patch)
tree89de5e3b54bf3409b6135cf0d908fef2c77eb704 /ssh-keyscan.c
parent7cb49333500102e69c914b2636472aa01b3c5bbc (diff)
downloadopenssh-8a7b52dd388789c488b8341d71b6e11a44397a32.tar.gz
- djm@cvs.openbsd.org 2004/03/08 09:38:05
[ssh-keyscan.c] explicitly initialise remote_major and remote_minor. from cjwatson AT debian.org; ok markus@
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 68b6a0ad..266b23cb 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -7,7 +7,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keyscan.c,v 1.46 2003/11/23 23:17:34 djm Exp $");
+RCSID("$OpenBSD: ssh-keyscan.c,v 1.47 2004/03/08 09:38:05 djm Exp $");
#include "openbsd-compat/sys-queue.h"
@@ -489,7 +489,7 @@ conrecycle(int s)
static void
congreet(int s)
{
- int remote_major, remote_minor, n = 0;
+ int remote_major = 0, remote_minor = 0, n = 0;
char buf[256], *cp;
char remote_version[sizeof buf];
size_t bufsiz;