From 940fb86c9a0ff501f812041ebaad09538c09b1b8 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 6 Aug 2001 21:01:49 +0000 Subject: [PATCH] - stevesk@cvs.openbsd.org 2001/07/23 18:14:58 [auth2.c auth-rsa.c] use %lu; ok markus@ --- ChangeLog | 5 ++++- auth-rsa.c | 4 ++-- auth2.c | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9ee7c9587..bab4413ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,9 @@ - aaron@cvs.openbsd.org 2001/07/23 14:14:18 [ssh-keygen.1] Fix typo. + - stevesk@cvs.openbsd.org 2001/07/23 18:14:58 + [auth2.c auth-rsa.c] + use %lu; ok markus@ 20010803 - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on @@ -6133,4 +6136,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1432 2001/08/06 21:00:27 mouring Exp $ +$Id: ChangeLog,v 1.1433 2001/08/06 21:01:49 mouring Exp $ diff --git a/auth-rsa.c b/auth-rsa.c index ec8f6ce21..701d8bd53 100644 --- a/auth-rsa.c +++ b/auth-rsa.c @@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-rsa.c,v 1.43 2001/06/25 17:54:47 provos Exp $"); +RCSID("$OpenBSD: auth-rsa.c,v 1.44 2001/07/23 18:14:58 stevesk Exp $"); #include #include @@ -223,7 +223,7 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n) /* check the real bits */ if (bits != BN_num_bits(pk->n)) - log("Warning: %s, line %ld: keysize mismatch: " + log("Warning: %s, line %lu: keysize mismatch: " "actual %d vs. announced %d.", file, linenum, BN_num_bits(pk->n), bits); diff --git a/auth2.c b/auth2.c index 276e05dd5..a52c9e289 100644 --- a/auth2.c +++ b/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.68 2001/06/26 05:50:11 markus Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.69 2001/07/23 18:14:58 stevesk Exp $"); #include @@ -721,7 +721,7 @@ user_key_allowed2(struct passwd *pw, Key *key, char *file) if (key_equal(found, key) && auth_parse_options(pw, options, file, linenum) == 1) { found_key = 1; - debug("matching key found: file %s, line %ld", + debug("matching key found: file %s, line %lu", file, linenum); break; }