]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - import.c
Oops, Ben is quite right about the rather appalling design of
[PuTTY.git] / import.c
index ce304e28af71106493c2b7389bbab53074c88d58..e1609668f704b41ecce6e340255137839158ff92 100644 (file)
--- 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) {