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

Diff for /src/usr.bin/ssh/Attic/sshconnect1.c between version 1.49.2.2 and 1.49.2.3

version 1.49.2.2, 2002/05/18 04:50:38 version 1.49.2.3, 2002/06/26 15:30:39
Line 1092 
Line 1092 
  */   */
 void  void
 ssh_userauth1(const char *local_user, const char *server_user, char *host,  ssh_userauth1(const char *local_user, const char *server_user, char *host,
     Key **keys, int nkeys)      Sensitive *sensitive)
 {  {
 #ifdef KRB5  #ifdef KRB5
         krb5_context context = NULL;          krb5_context context = NULL;
Line 1178 
Line 1178 
          */           */
         if ((supported_authentications & (1 << SSH_AUTH_RHOSTS_RSA)) &&          if ((supported_authentications & (1 << SSH_AUTH_RHOSTS_RSA)) &&
             options.rhosts_rsa_authentication) {              options.rhosts_rsa_authentication) {
                 for (i = 0; i < nkeys; i++) {                  for (i = 0; i < sensitive->nkeys; i++) {
                         if (keys[i] != NULL && keys[i]->type == KEY_RSA1 &&                          if (sensitive->keys[i] != NULL &&
                             try_rhosts_rsa_authentication(local_user, keys[i]))                              sensitive->keys[i]->type == KEY_RSA1 &&
                               try_rhosts_rsa_authentication(local_user,
                               sensitive->keys[i]))
                                 goto success;                                  goto success;
                 }                  }
         }          }

Legend:
Removed from v.1.49.2.2  
changed lines
  Added in v.1.49.2.3