summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--auth-rsa.c4
-rw-r--r--auth2.c4
3 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ee7c958..bab4413e 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 ec8f6ce2..701d8bd5 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 <openssl/rsa.h>
#include <openssl/md5.h>
@@ -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 276e05dd..a52c9e28 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 <openssl/evp.h>
@@ -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;
}