[BACK]Return to auth-rh-rsa.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/auth-rh-rsa.c between version 1.36 and 1.37

version 1.36, 2003/06/02 09:17:34 version 1.37, 2003/11/04 08:54:09
Line 52 
Line 52 
  * its host key.  Returns true if authentication succeeds.   * its host key.  Returns true if authentication succeeds.
  */   */
 int  int
 auth_rhosts_rsa(struct passwd *pw, char *cuser, Key *client_host_key)  auth_rhosts_rsa(Authctxt *authctxt, char *cuser, Key *client_host_key)
 {  {
         char *chost;          char *chost;
           struct passwd *pw = authctxt->pw;
   
         debug("Trying rhosts with RSA host authentication for client user %.100s",          debug("Trying rhosts with RSA host authentication for client user %.100s",
             cuser);              cuser);
   
         if (pw == NULL || client_host_key == NULL ||          if (!authctxt->valid || client_host_key == NULL ||
             client_host_key->rsa == NULL)              client_host_key->rsa == NULL)
                 return 0;                  return 0;
   

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37