From 8d9a6f4b5dfd58b4e1d6acf288bea5c4ada876e6 Mon Sep 17 00:00:00 2001 From: Simon Tatham 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: http://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.45.2