summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-12-02 20:17:50 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-12-02 20:17:50 +0000
commit48a3aa45ef3d16ea1d4f5df62b5ad8ec9b7fab2a (patch)
tree8ed7a244ef8fa4a4ddb9a0dc077e1022d0619770 /usr.bin
parent518584cb25aa3077bf9eb90e72632b85b82411af (diff)
warn about keysize-mismatch with log() not error()
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/auth-rsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth-rsa.c b/usr.bin/ssh/auth-rsa.c
index 197a2e91092..2b811252d14 100644
--- a/usr.bin/ssh/auth-rsa.c
+++ b/usr.bin/ssh/auth-rsa.c
@@ -16,7 +16,7 @@
*/
#include "includes.h"
-RCSID("$Id: auth-rsa.c,v 1.14 1999/11/24 19:53:44 markus Exp $");
+RCSID("$Id: auth-rsa.c,v 1.15 1999/12/02 20:17:49 markus Exp $");
#include "rsa.h"
#include "packet.h"
@@ -255,9 +255,9 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n)
/* check the real bits */
if (bits != BN_num_bits(n))
- error("Warning: error in %s, line %ld: keysize mismatch: "
- "actual size %d vs. announced %d.",
- file, linenum, BN_num_bits(n), bits);
+ log("Warning: %s, line %ld: keysize mismatch: "
+ "actual %d vs. announced %d.",
+ file, linenum, BN_num_bits(n), bits);
/* Check if the we have found the desired key (identified by its modulus). */
if (BN_cmp(n, client_n) != 0)