[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.119 and 1.120

version 1.119, 2002/01/21 15:13:51 version 1.120, 2002/05/23 19:24:30
Line 832 
Line 832 
  * This function does not require super-user privileges.   * This function does not require super-user privileges.
  */   */
 void  void
 ssh_login(Key **keys, int nkeys, const char *orighost,  ssh_login(Sensitive *sensitive, const char *orighost,
     struct sockaddr *hostaddr, struct passwd *pw)      struct sockaddr *hostaddr, struct passwd *pw)
 {  {
         char *host, *cp;          char *host, *cp;
Line 857 
Line 857 
         /* authenticate user */          /* authenticate user */
         if (compat20) {          if (compat20) {
                 ssh_kex2(host, hostaddr);                  ssh_kex2(host, hostaddr);
                 ssh_userauth2(local_user, server_user, host, keys, nkeys);                  ssh_userauth2(local_user, server_user, host, sensitive);
         } else {          } else {
                 ssh_kex(host, hostaddr);                  ssh_kex(host, hostaddr);
                 ssh_userauth1(local_user, server_user, host, keys, nkeys);                  ssh_userauth1(local_user, server_user, host, sensitive);
         }          }
 }  }
   

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120