From f545e34b1d9f7907c0767e48aa62d9127af1a77c Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 1 Feb 2003 17:25:06 +0000 Subject: [PATCH] Initialise a variable that might otherwise have caused trouble. Thanks to Ross Younger. git-svn-id: svn://svn.tartarus.org/sgt/putty@2769 cda61777-01e9-0310-a592-d414129be87e --- sshpubk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshpubk.c b/sshpubk.c index 8bcbbc76..8bef2da4 100644 --- a/sshpubk.c +++ b/sshpubk.c @@ -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"); -- 2.11.0