mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Initialise a variable that might otherwise have caused trouble.
Thanks to Ross Younger. [originally from svn r2769]
This commit is contained in:
parent
bd16b29a7a
commit
8aa218fd1d
@ -588,7 +588,7 @@ struct ssh2_userkey *ssh2_load_userkey(const Filename *filename,
|
||||
int passlen = passphrase ? strlen(passphrase) : 0;
|
||||
|
||||
ret = NULL; /* return NULL for most errors */
|
||||
comment = mac = NULL;
|
||||
encryption = comment = mac = NULL;
|
||||
public_blob = private_blob = NULL;
|
||||
|
||||
fp = f_open(*filename, "rb");
|
||||
|
Loading…
Reference in New Issue
Block a user