1
0
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:
Simon Tatham 2003-02-01 17:25:06 +00:00
parent bd16b29a7a
commit 8aa218fd1d

View File

@ -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");