|
Lines 684-694
main(int ac, char **av)
Link Here
|
| 684 |
else if (strcmp(optarg, "kex") == 0) |
684 |
else if (strcmp(optarg, "kex") == 0) |
| 685 |
cp = kex_alg_list('\n'); |
685 |
cp = kex_alg_list('\n'); |
| 686 |
else if (strcmp(optarg, "key") == 0) |
686 |
else if (strcmp(optarg, "key") == 0) |
| 687 |
cp = sshkey_alg_list(0, 0, '\n'); |
687 |
cp = sshkey_alg_list(0, 0, 0, '\n'); |
| 688 |
else if (strcmp(optarg, "key-cert") == 0) |
688 |
else if (strcmp(optarg, "key-cert") == 0) |
| 689 |
cp = sshkey_alg_list(1, 0, '\n'); |
689 |
cp = sshkey_alg_list(1, 0, 0, '\n'); |
| 690 |
else if (strcmp(optarg, "key-plain") == 0) |
690 |
else if (strcmp(optarg, "key-plain") == 0) |
| 691 |
cp = sshkey_alg_list(0, 1, '\n'); |
691 |
cp = sshkey_alg_list(0, 1, 0, '\n'); |
| 692 |
else if (strcmp(optarg, "protocol-version") == 0) { |
692 |
else if (strcmp(optarg, "protocol-version") == 0) { |
| 693 |
#ifdef WITH_SSH1 |
693 |
#ifdef WITH_SSH1 |
| 694 |
cp = xstrdup("1\n2"); |
694 |
cp = xstrdup("1\n2"); |