diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-12-11 13:39:50 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-12-11 13:39:50 +1100 |
commit | f0f90989fa7c22ab86ae7957b3af539584be375c (patch) | |
tree | d29637328f1c0458d5ffed5d284d8353ee7ed9ba /authfile.c | |
parent | 596dcfa21fba253b25020be8578efb6a1a1e30d2 (diff) | |
download | openssh-git-f0f90989fa7c22ab86ae7957b3af539584be375c.tar.gz |
- dtucker@cvs.openbsd.org 2004/12/11 01:48:56
[auth-rsa.c auth2-pubkey.c authfile.c misc.c misc.h]
Fix debug call in error path of authorized_keys processing and fix related
warnings; ok djm@
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfile.c,v 1.59 2004/12/06 11:41:03 dtucker Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.60 2004/12/11 01:48:56 dtucker Exp $"); #include <openssl/err.h> #include <openssl/evp.h> @@ -51,6 +51,7 @@ RCSID("$OpenBSD: authfile.c,v 1.59 2004/12/06 11:41:03 dtucker Exp $"); #include "log.h" #include "authfile.h" #include "rsa.h" +#include "misc.h" /* Version identification string for SSH v1 identity files. */ static const char authfile_id_string[] = @@ -603,7 +604,7 @@ key_try_load_public(Key *k, const char *filename, char **commentp) FILE *f; char line[SSH_MAX_PUBKEY_BYTES]; char *cp; - int linenum = 0; + u_long linenum = 0; f = fopen(filename, "r"); if (f != NULL) { |