X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/04627c33eaedaab98bce22ed21103a0b8324cff6..b5864f2c42efe93fb3b45f87f6c01428bbd64ead:/import.c 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;