[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.21 and 1.22

version 1.21, 1999/09/30 20:39:08 version 1.22, 1999/10/03 21:50:04
Line 58 
Line 58 
    in a configuration file. */     in a configuration file. */
 char *host;  char *host;
   
   /* socket address the host resolves to */
   struct sockaddr_in hostaddr;
   
 /* Flag to indicate that we have received a window change signal which has  /* Flag to indicate that we have received a window change signal which has
    not yet been processed.  This will cause a message indicating the new     not yet been processed.  This will cause a message indicating the new
    window size to be sent to the server a little later.  This is volatile     window size to be sent to the server a little later.  This is volatile
Line 520 
Line 523 
   
   /* Open a connection to the remote host.  This needs root privileges if    /* Open a connection to the remote host.  This needs root privileges if
      rhosts_authentication is true. */       rhosts_authentication is true. */
   ok = ssh_connect(host, options.port, options.connection_attempts,    ok = ssh_connect(host, &hostaddr, options.port, options.connection_attempts,
                    !options.rhosts_authentication &&                     !options.rhosts_authentication &&
                    !options.rhosts_rsa_authentication,                     !options.rhosts_rsa_authentication,
                    original_real_uid, options.proxy_command);                     original_real_uid, options.proxy_command);
Line 581 
Line 584 
   
   /* Log into the remote system.  This never returns if the login fails. */    /* Log into the remote system.  This never returns if the login fails. */
   ssh_login(host_private_key_loaded, host_private_key,    ssh_login(host_private_key_loaded, host_private_key,
             host, &options, original_real_uid);              host, &hostaddr, &options, original_real_uid);
   
   /* We no longer need the host private key.  Clear it now. */    /* We no longer need the host private key.  Clear it now. */
   if (host_private_key_loaded)    if (host_private_key_loaded)

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22