version 1.450, 2017/03/08 12:07:47 |
version 1.451, 2017/03/10 04:07:20 |
|
|
else if (strcmp(optarg, "kex") == 0) |
else if (strcmp(optarg, "kex") == 0) |
cp = kex_alg_list('\n'); |
cp = kex_alg_list('\n'); |
else if (strcmp(optarg, "key") == 0) |
else if (strcmp(optarg, "key") == 0) |
cp = sshkey_alg_list(0, 0, '\n'); |
cp = sshkey_alg_list(0, 0, 0, '\n'); |
else if (strcmp(optarg, "key-cert") == 0) |
else if (strcmp(optarg, "key-cert") == 0) |
cp = sshkey_alg_list(1, 0, '\n'); |
cp = sshkey_alg_list(1, 0, 0, '\n'); |
else if (strcmp(optarg, "key-plain") == 0) |
else if (strcmp(optarg, "key-plain") == 0) |
cp = sshkey_alg_list(0, 1, '\n'); |
cp = sshkey_alg_list(0, 1, 0, '\n'); |
else if (strcmp(optarg, "protocol-version") == 0) { |
else if (strcmp(optarg, "protocol-version") == 0) { |
#ifdef WITH_SSH1 |
#ifdef WITH_SSH1 |
cp = xstrdup("1\n2"); |
cp = xstrdup("1\n2"); |