[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.18 and 1.19

version 1.18, 2000/11/12 19:50:37 version 1.19, 2000/12/21 15:10:16
Line 60 
Line 60 
   
         /* Check if we know the host and its host key. */          /* Check if we know the host and its host key. */
         host_status = check_host_in_hostfile(SSH_SYSTEM_HOSTFILE, canonical_hostname,          host_status = check_host_in_hostfile(SSH_SYSTEM_HOSTFILE, canonical_hostname,
             client_key, found);              client_key, found, NULL);
   
         /* Check user host file unless ignored. */          /* Check user host file unless ignored. */
         if (host_status != HOST_OK && !options.ignore_user_known_hosts) {          if (host_status != HOST_OK && !options.ignore_user_known_hosts) {
Line 80 
Line 80 
                         /* XXX race between stat and the following open() */                          /* XXX race between stat and the following open() */
                         temporarily_use_uid(pw->pw_uid);                          temporarily_use_uid(pw->pw_uid);
                         host_status = check_host_in_hostfile(user_hostfile, canonical_hostname,                          host_status = check_host_in_hostfile(user_hostfile, canonical_hostname,
                             client_key, found);                              client_key, found, NULL);
                         restore_uid();                          restore_uid();
                 }                  }
                 xfree(user_hostfile);                  xfree(user_hostfile);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19