[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.375 and 1.376

version 1.375, 2013/04/07 02:10:33 version 1.376, 2013/04/19 01:06:50
Line 298 
Line 298 
   
  again:   again:
         while ((opt = getopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx"          while ((opt = getopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx"
             "ACD:E:F:I:KL:MNO:PR:S:TVw:W:XYy")) != -1) {              "ACD:E:F:I:KL:MNO:PQ:R:S:TVw:W:XYy")) != -1) {
                 switch (opt) {                  switch (opt) {
                 case '1':                  case '1':
                         options.protocol = SSH_PROTO_1;                          options.protocol = SSH_PROTO_1;
Line 359 
Line 359 
                         break;                          break;
                 case 'P':       /* deprecated */                  case 'P':       /* deprecated */
                         options.use_privileged_port = 0;                          options.use_privileged_port = 0;
                           break;
                   case 'Q':       /* deprecated */
                           cp = NULL;
                           if (strcasecmp(optarg, "cipher") == 0)
                                   cp = cipher_alg_list();
                           else if (strcasecmp(optarg, "mac") == 0)
                                   cp = mac_alg_list();
                           else if (strcasecmp(optarg, "kex") == 0)
                                   cp = kex_alg_list();
                           else if (strcasecmp(optarg, "key") == 0)
                                   cp = key_alg_list();
                           if (cp == NULL)
                                   fatal("Unsupported query \"%s\"", optarg);
                           printf("%s\n", cp);
                           free(cp);
                           exit(0);
                         break;                          break;
                 case 'a':                  case 'a':
                         options.forward_agent = 0;                          options.forward_agent = 0;

Legend:
Removed from v.1.375  
changed lines
  Added in v.1.376