mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-19 19:03:37 +08:00
upstream commit
avoid an uninitialised value when NumberOfPasswordPrompts is 0 ok markus@ djm@ Upstream-ID: 11b068d83c2865343aeb46acf1e9eec00f829b6b
This commit is contained in:
parent
deae7d52d5
commit
56d7dac790
@ -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.
|
||||
@ -1198,7 +1198,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;
|
||||
|
Loading…
Reference in New Issue
Block a user