summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-keysign.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-08-04 06:08:41 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-08-04 06:08:41 +0000
commit8d4360f2cdc358d8e386ac6dfea1fefcb389e609 (patch)
treee8413e28bc533ec7c5bdc0f8a7c143fea606473d /usr.bin/ssh/ssh-keysign.c
parenta7246bce5d11db3e8dc61591385bb4ecff95dc9c (diff)
clean for -Wuninitialized
Diffstat (limited to 'usr.bin/ssh/ssh-keysign.c')
-rw-r--r--usr.bin/ssh/ssh-keysign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c
index 298a90f4590..e807a9292c8 100644
--- a/usr.bin/ssh/ssh-keysign.c
+++ b/usr.bin/ssh/ssh-keysign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keysign.c,v 1.31 2010/08/04 05:42:47 djm Exp $ */
+/* $OpenBSD: ssh-keysign.c,v 1.32 2010/08/04 06:08:40 djm Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -145,7 +145,7 @@ main(int argc, char **argv)
{
Buffer b;
Options options;
- Key *keys[2], *key;
+ Key *keys[2], *key = NULL;
struct passwd *pw;
int key_fd[2], i, found, version = 2, fd;
u_char *signature, *data;