From 8aa218fd1d3ad327bf0162de6001b41e425f8da5 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. [originally from svn r2769] --- 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");