diff options
| author | 2016-02-05 04:31:21 +0000 | |
|---|---|---|
| committer | 2016-02-05 04:31:21 +0000 | |
| commit | 2a47310e0d241429fde69bd33d702b21d9b1c420 (patch) | |
| tree | 2e70d751c55163069a381eac52ba83fba1b95322 /usr.bin/ssh/sshconnect2.c | |
| parent | avoid an uninitialised value in a return path added in rev 1.5 (diff) | |
| download | wireguard-openbsd-2a47310e0d241429fde69bd33d702b21d9b1c420.tar.xz wireguard-openbsd-2a47310e0d241429fde69bd33d702b21d9b1c420.zip | |
avoid an uninitialised value when NumberOfPasswordPrompts is 0
ok markus@ djm@
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
| -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; |
