diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-02-05 04:31:22 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-02-05 04:31:22 +0000 |
commit | 36c6b15245925ced646fdc8d2bf1972e10e38847 (patch) | |
tree | 8fa360247b17df928fe3c2361b88b4c2a4563a37 /usr.bin/ssh | |
parent | 3ad1e9fe525c4129ca4e89a4230a0340616b3637 (diff) |
avoid an uninitialised value when NumberOfPasswordPrompts is 0
ok markus@ djm@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 4d65bc0c1dc..72cc49a949d 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.237 2016/01/14 22:56:56 markus Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.238 2016/02/05 04:31:21 jsg Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2008 Damien Miller. All rights reserved. @@ -1190,7 +1190,7 @@ send_pubkey_test(Authctxt *authctxt, Identity *id) static Key * load_identity_file(Identity *id) { - Key *private; + Key *private = NULL; char prompt[300], *passphrase, *comment; int r, perm_ok = 0, quit = 0, i; struct stat st; |