summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 15aee569e..110cf9c19 100644
--- a/ssh.c
+++ b/ssh.c
@@ -747,6 +747,8 @@ main(int ac, char **av)
747 else if (strcmp(optarg, "kex") == 0 || 747 else if (strcmp(optarg, "kex") == 0 ||
748 strcasecmp(optarg, "KexAlgorithms") == 0) 748 strcasecmp(optarg, "KexAlgorithms") == 0)
749 cp = kex_alg_list('\n'); 749 cp = kex_alg_list('\n');
750 else if (strcmp(optarg, "kex-gss") == 0)
751 cp = kex_gss_alg_list('\n');
750 else if (strcmp(optarg, "key") == 0) 752 else if (strcmp(optarg, "key") == 0)
751 cp = sshkey_alg_list(0, 0, 0, '\n'); 753 cp = sshkey_alg_list(0, 0, 0, '\n');
752 else if (strcmp(optarg, "key-cert") == 0) 754 else if (strcmp(optarg, "key-cert") == 0)
@@ -772,8 +774,8 @@ main(int ac, char **av)
772 } else if (strcmp(optarg, "help") == 0) { 774 } else if (strcmp(optarg, "help") == 0) {
773 cp = xstrdup( 775 cp = xstrdup(
774 "cipher\ncipher-auth\ncompression\nkex\n" 776 "cipher\ncipher-auth\ncompression\nkex\n"
775 "key\nkey-cert\nkey-plain\nkey-sig\nmac\n" 777 "kex-gss\nkey\nkey-cert\nkey-plain\n"
776 "protocol-version\nsig"); 778 "key-sig\nmac\nprotocol-version\nsig");
777 } 779 }
778 if (cp == NULL) 780 if (cp == NULL)
779 fatal("Unsupported query \"%s\"", optarg); 781 fatal("Unsupported query \"%s\"", optarg);