X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e3c5b24505e04722ef5aebb949006108e6da3f74..9fab77dc00ff2183dd642f4f088d2d54ed3d5887:/import.c diff --git a/import.c b/import.c index ce304e28..e1609668 100644 --- a/import.c +++ b/import.c @@ -66,7 +66,7 @@ int import_encrypted(const Filename *filename, int type, char **comment) { if (type == SSH_KEYTYPE_OPENSSH) { /* OpenSSH doesn't do key comments */ - *comment = dupstr(filename_to_str(*filename)); + *comment = dupstr(filename_to_str(filename)); return openssh_encrypted(filename); } if (type == SSH_KEYTYPE_SSHCOM) {