X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/04627c33eaedaab98bce22ed21103a0b8324cff6..6a5e84ddac48f42ba4145e084eba8bd5f9a46970:/import.c?ds=sidebyside diff --git a/import.c b/import.c index e7926511..30662983 100644 --- a/import.c +++ b/import.c @@ -485,6 +485,8 @@ struct ssh2_userkey *openssh_read(char *filename, char *passphrase) char *modptr; int modlen; + blob = NULL; + if (!key) return NULL;