[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.382 and 1.383

version 1.382, 2013/10/14 22:22:04 version 1.383, 2013/10/14 23:28:23
Line 693 
Line 693 
   
         channel_set_af(options.address_family);          channel_set_af(options.address_family);
   
           /* Tidy and check options */
           if (options.host_key_alias != NULL)
                   lowercase(options.host_key_alias);
           if (options.proxy_command != NULL &&
               strcmp(options.proxy_command, "-") == 0 &&
               options.proxy_use_fdpass)
                   fatal("ProxyCommand=- and ProxyUseFDPass are incompatible");
   
         /* reinit */          /* reinit */
         log_init(argv0, options.log_level, SYSLOG_FACILITY_USER, !use_syslog);          log_init(argv0, options.log_level, SYSLOG_FACILITY_USER, !use_syslog);
   
Line 745 
Line 753 
                     (char *)NULL);                      (char *)NULL);
                 debug3("expanded LocalCommand: %s", options.local_command);                  debug3("expanded LocalCommand: %s", options.local_command);
                 free(cp);                  free(cp);
         }  
   
         /* force lowercase for hostkey matching */  
         if (options.host_key_alias != NULL) {  
                 for (p = options.host_key_alias; *p; p++)  
                         if (isupper(*p))  
                                 *p = (char)tolower(*p);  
         }  
   
         if (options.proxy_command != NULL &&  
             strcmp(options.proxy_command, "none") == 0) {  
                 free(options.proxy_command);  
                 options.proxy_command = NULL;  
         }  
         if (options.control_path != NULL &&  
             strcmp(options.control_path, "none") == 0) {  
                 free(options.control_path);  
                 options.control_path = NULL;  
         }          }
   
         if (options.control_path != NULL) {          if (options.control_path != NULL) {

Legend:
Removed from v.1.382  
changed lines
  Added in v.1.383