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

Diff for /src/usr.bin/ssh/Attic/auth-rsa.c between version 1.52 and 1.53

version 1.52, 2002/03/18 17:50:31 version 1.53, 2002/03/25 09:21:13
Line 165 
Line 165 
                 /* Restore the privileged uid. */                  /* Restore the privileged uid. */
                 restore_uid();                  restore_uid();
                 xfree(file);                  xfree(file);
                 return (NULL);                  return (0);
         }          }
         /* Open the file containing the authorized keys. */          /* Open the file containing the authorized keys. */
         f = fopen(file, "r");          f = fopen(file, "r");
Line 173 
Line 173 
                 /* Restore the privileged uid. */                  /* Restore the privileged uid. */
                 restore_uid();                  restore_uid();
                 xfree(file);                  xfree(file);
                 return (NULL);                  return (0);
         }          }
         if (options.strict_modes &&          if (options.strict_modes &&
             secure_filename(f, file, pw, line, sizeof(line)) != 0) {              secure_filename(f, file, pw, line, sizeof(line)) != 0) {
Line 181 
Line 181 
                 fclose(f);                  fclose(f);
                 log("Authentication refused: %s", line);                  log("Authentication refused: %s", line);
                 restore_uid();                  restore_uid();
                 return (NULL);                  return (0);
         }          }
   
         /* Flag indicating whether the key is allowed. */          /* Flag indicating whether the key is allowed. */

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53