[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.94 and 1.95

version 1.94, 2001/02/10 01:46:28 version 1.95, 2001/02/11 12:59:25
Line 65 
Line 65 
 #include "tildexpand.h"  #include "tildexpand.h"
 #include "dispatch.h"  #include "dispatch.h"
 #include "misc.h"  #include "misc.h"
   #include "kex.h"
   #include "mac.h"
   
 extern char *__progname;  extern char *__progname;
   
Line 292 
Line 294 
                 opt = av[optind][1];                  opt = av[optind][1];
                 if (!opt)                  if (!opt)
                         usage();                          usage();
                 if (strchr("eilcpLRo", opt)) {  /* options with arguments */                  if (strchr("eilcmpLRo", opt)) { /* options with arguments */
                         optarg = av[optind] + 2;                          optarg = av[optind] + 2;
                         if (strcmp(optarg, "") == 0) {                          if (strcmp(optarg, "") == 0) {
                                 if (optind >= ac - 1)                                  if (optind >= ac - 1)
Line 419 
Line 421 
                                 } else {                                  } else {
                                         options.ciphers = (char *)-1;                                          options.ciphers = (char *)-1;
                                 }                                  }
                           }
                           break;
                   case 'm':
                           if (mac_valid(optarg))
                                   options.macs = xstrdup(optarg);
                           else {
                                   fprintf(stderr, "Unknown mac type '%s'\n", optarg);
                                   exit(1);
                         }                          }
                         break;                          break;
                 case 'p':                  case 'p':

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95