diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -773,6 +773,8 @@ main(int ac, char **av) | |||
773 | else if (strcmp(optarg, "kex") == 0 || | 773 | else if (strcmp(optarg, "kex") == 0 || |
774 | strcasecmp(optarg, "KexAlgorithms") == 0) | 774 | strcasecmp(optarg, "KexAlgorithms") == 0) |
775 | cp = kex_alg_list('\n'); | 775 | cp = kex_alg_list('\n'); |
776 | else if (strcmp(optarg, "kex-gss") == 0) | ||
777 | cp = kex_gss_alg_list('\n'); | ||
776 | else if (strcmp(optarg, "key") == 0) | 778 | else if (strcmp(optarg, "key") == 0) |
777 | cp = sshkey_alg_list(0, 0, 0, '\n'); | 779 | cp = sshkey_alg_list(0, 0, 0, '\n'); |
778 | else if (strcmp(optarg, "key-cert") == 0) | 780 | else if (strcmp(optarg, "key-cert") == 0) |
@@ -798,8 +800,8 @@ main(int ac, char **av) | |||
798 | } else if (strcmp(optarg, "help") == 0) { | 800 | } else if (strcmp(optarg, "help") == 0) { |
799 | cp = xstrdup( | 801 | cp = xstrdup( |
800 | "cipher\ncipher-auth\ncompression\nkex\n" | 802 | "cipher\ncipher-auth\ncompression\nkex\n" |
801 | "key\nkey-cert\nkey-plain\nkey-sig\nmac\n" | 803 | "kex-gss\nkey\nkey-cert\nkey-plain\n" |
802 | "protocol-version\nsig"); | 804 | "key-sig\nmac\nprotocol-version\nsig"); |
803 | } | 805 | } |
804 | if (cp == NULL) | 806 | if (cp == NULL) |
805 | fatal("Unsupported query \"%s\"", optarg); | 807 | fatal("Unsupported query \"%s\"", optarg); |