diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -801,6 +801,8 @@ main(int ac, char **av) | |||
801 | else if (strcmp(optarg, "kex") == 0 || | 801 | else if (strcmp(optarg, "kex") == 0 || |
802 | strcasecmp(optarg, "KexAlgorithms") == 0) | 802 | strcasecmp(optarg, "KexAlgorithms") == 0) |
803 | cp = kex_alg_list('\n'); | 803 | cp = kex_alg_list('\n'); |
804 | else if (strcmp(optarg, "kex-gss") == 0) | ||
805 | cp = kex_gss_alg_list('\n'); | ||
804 | else if (strcmp(optarg, "key") == 0) | 806 | else if (strcmp(optarg, "key") == 0) |
805 | cp = sshkey_alg_list(0, 0, 0, '\n'); | 807 | cp = sshkey_alg_list(0, 0, 0, '\n'); |
806 | else if (strcmp(optarg, "key-cert") == 0) | 808 | else if (strcmp(optarg, "key-cert") == 0) |
@@ -826,8 +828,8 @@ main(int ac, char **av) | |||
826 | } else if (strcmp(optarg, "help") == 0) { | 828 | } else if (strcmp(optarg, "help") == 0) { |
827 | cp = xstrdup( | 829 | cp = xstrdup( |
828 | "cipher\ncipher-auth\ncompression\nkex\n" | 830 | "cipher\ncipher-auth\ncompression\nkex\n" |
829 | "key\nkey-cert\nkey-plain\nkey-sig\nmac\n" | 831 | "kex-gss\nkey\nkey-cert\nkey-plain\n" |
830 | "protocol-version\nsig"); | 832 | "key-sig\nmac\nprotocol-version\nsig"); |
831 | } | 833 | } |
832 | if (cp == NULL) | 834 | if (cp == NULL) |
833 | fatal("Unsupported query \"%s\"", optarg); | 835 | fatal("Unsupported query \"%s\"", optarg); |