]> andersk Git - openssh.git/blobdiff - ssh-keygen.c
- Remove references to SSLeay.
[openssh.git] / ssh-keygen.c
index e3337dd6405a88e1c3a44d604ccae6fb66cd790d..9beb653d45aab7f66283cc527172779e6a62c3bf 100644 (file)
@@ -76,7 +76,8 @@ ask_filename(struct passwd *pw, const char *prompt)
 {
        char buf[1024];
        snprintf(identity_file, sizeof(identity_file), "%s/%s",
-                pw->pw_dir, SSH_CLIENT_IDENTITY);
+           pw->pw_dir,
+           dsa_mode ? SSH_CLIENT_ID_DSA: SSH_CLIENT_IDENTITY);
        printf("%s (%s): ", prompt, identity_file);
        fflush(stdout);
        if (fgets(buf, sizeof(buf), stdin) == NULL)
@@ -491,8 +492,7 @@ do_change_comment(struct passwd *pw)
 void
 usage(void)
 {
-       printf("ssh-keygen version %s\n", SSH_VERSION);
-       printf("Usage: %s [-b bits] [-c] [-d] [-f file] [-l] [-p] [-q] [-x] [-y] [-C comment] [-N new-pass] [-P pass] [-X]\n", __progname);
+       printf("Usage: %s [-lpqxXydc] [-b bits] [-f file] [-C comment] [-N new-pass] [-P pass]\n", __progname);
        exit(1);
 }
 
This page took 0.035627 seconds and 4 git commands to generate.