diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-25 14:38:33 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-25 14:38:33 +1000 |
commit | 04bd8b0bcc92eca7304898ce35705e0f403514c1 (patch) | |
tree | a4bfa854b5bce1e1d4f6a2214bdc30f3b5611974 /authfile.c | |
parent | c11fe255ab45b8cf7783cedbcd688b00ed5308aa (diff) |
- djm@cvs.openbsd.org 2003/05/24 09:30:40
[authfile.c monitor.c sftp-common.c sshpty.c]
cast some types for printing; ok markus@
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c index d563abb71..1f46093e3 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: authfile.c,v 1.53 2003/05/11 16:56:48 markus Exp $"); | 39 | RCSID("$OpenBSD: authfile.c,v 1.54 2003/05/24 09:30:39 djm Exp $"); |
40 | 40 | ||
41 | #include <openssl/err.h> | 41 | #include <openssl/err.h> |
42 | #include <openssl/evp.h> | 42 | #include <openssl/evp.h> |
@@ -514,7 +514,7 @@ key_perm_ok(int fd, const char *filename) | |||
514 | error("@ WARNING: UNPROTECTED PRIVATE KEY FILE! @"); | 514 | error("@ WARNING: UNPROTECTED PRIVATE KEY FILE! @"); |
515 | error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); | 515 | error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); |
516 | error("Permissions 0%3.3o for '%s' are too open.", | 516 | error("Permissions 0%3.3o for '%s' are too open.", |
517 | st.st_mode & 0777, filename); | 517 | (u_int)st.st_mode & 0777, filename); |
518 | error("It is recommended that your private key files are NOT accessible by others."); | 518 | error("It is recommended that your private key files are NOT accessible by others."); |
519 | error("This private key will be ignored."); | 519 | error("This private key will be ignored."); |
520 | return 0; | 520 | return 0; |