[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.596 and 1.597

version 1.596, 2023/10/11 23:23:58 version 1.597, 2023/10/12 02:18:18
Line 606 
Line 606 
         free(cinfo->remuser);          free(cinfo->remuser);
         free(cinfo->homedir);          free(cinfo->homedir);
         free(cinfo->locuser);          free(cinfo->locuser);
           free(cinfo->jmphost);
         free(cinfo);          free(cinfo);
 }  }
   
Line 1368 
Line 1369 
         cinfo->keyalias = xstrdup(options.host_key_alias ?          cinfo->keyalias = xstrdup(options.host_key_alias ?
             options.host_key_alias : options.host_arg);              options.host_key_alias : options.host_arg);
         cinfo->conn_hash_hex = ssh_connection_hash(cinfo->thishost, host,          cinfo->conn_hash_hex = ssh_connection_hash(cinfo->thishost, host,
             cinfo->portstr, options.user);              cinfo->portstr, options.user, options.jump_host);
         cinfo->host_arg = xstrdup(options.host_arg);          cinfo->host_arg = xstrdup(options.host_arg);
         cinfo->remhost = xstrdup(host);          cinfo->remhost = xstrdup(host);
         cinfo->remuser = xstrdup(options.user);          cinfo->remuser = xstrdup(options.user);
         cinfo->homedir = xstrdup(pw->pw_dir);          cinfo->homedir = xstrdup(pw->pw_dir);
         cinfo->locuser = xstrdup(pw->pw_name);          cinfo->locuser = xstrdup(pw->pw_name);
           cinfo->jmphost = xstrdup(options.jump_host == NULL ?
               "" : options.jump_host);
   
         /*          /*
          * Expand tokens in arguments. NB. LocalCommand is expanded later,           * Expand tokens in arguments. NB. LocalCommand is expanded later,

Legend:
Removed from v.1.596  
changed lines
  Added in v.1.597