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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.328 and 1.329

version 1.328, 2020/01/25 07:17:18 version 1.329, 2020/03/13 04:01:56
Line 1238 
Line 1238 
 {  {
         char *host;          char *host;
         char *server_user, *local_user;          char *server_user, *local_user;
           int r;
   
         local_user = xstrdup(pw->pw_name);          local_user = xstrdup(pw->pw_name);
         server_user = options.user ? options.user : local_user;          server_user = options.user ? options.user : local_user;
Line 1247 
Line 1248 
         lowercase(host);          lowercase(host);
   
         /* Exchange protocol version identification strings with the server. */          /* Exchange protocol version identification strings with the server. */
         if (kex_exchange_identification(ssh, timeout_ms, NULL) != 0)          if ((r = kex_exchange_identification(ssh, timeout_ms, NULL)) != 0)
                 cleanup_exit(255); /* error already logged */                  sshpkt_fatal(ssh, r, "banner exchange");
   
         /* Put the connection into non-blocking mode. */          /* Put the connection into non-blocking mode. */
         ssh_packet_set_nonblocking(ssh);          ssh_packet_set_nonblocking(ssh);

Legend:
Removed from v.1.328  
changed lines
  Added in v.1.329