summaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-29 12:12:36 +1100
committerDamien Miller <djm@mindrot.org>2000-09-29 12:12:36 +1100
commitcb5e44a440c1b310a9dc5b8b5abe32fe11ed479b (patch)
treee71546529e0058787f555ebf3c2fc03ad826bb89 /authfile.c
parent280e71bcb631d205fec33b1dd695263e2696a3f1 (diff)
- (djm) Clean up. Strip some unnecessary differences with OpenBSD's code,
tidy necessary differences. Use Markus' new debugN() in entropy.c
Diffstat (limited to 'authfile.c')
-rw-r--r--authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c
index 66bdc0ef1..c8eac1892 100644
--- a/authfile.c
+++ b/authfile.c
@@ -479,9 +479,9 @@ load_private_key(const char *filename, const char *passphrase, Key *key,
479 if (fd < 0) 479 if (fd < 0)
480 return 0; 480 return 0;
481 481
482 /* check owner and modes. */ 482 /* check owner and modes */
483#ifdef HAVE_CYGWIN 483#ifdef HAVE_CYGWIN
484 if (check_ntsec(filename)) 484 if (check_ntsec(filename))
485#endif 485#endif
486 if (fstat(fd, &st) < 0 || 486 if (fstat(fd, &st) < 0 ||
487 (st.st_uid != 0 && st.st_uid != getuid()) || 487 (st.st_uid != 0 && st.st_uid != getuid()) ||