X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9a30e26b7801d63e4ccfe8d36169299c09b89dff..ebb7ac45d108c634ee714c584e0dd197a0ff3716:/import.c?ds=sidebyside 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) {