[BACK]Return to ssh.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh.c between version 1.450 and 1.451

version 1.450, 2017/03/08 12:07:47 version 1.451, 2017/03/10 04:07:20
Line 653 
Line 653 
                         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");

Legend:
Removed from v.1.450  
changed lines
  Added in v.1.451