summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-04-09 20:59:48 +1000
committerDamien Miller <djm@mindrot.org>2003-04-09 20:59:48 +1000
commit996acd2476d9d34b18bb4f99012ea0927458f418 (patch)
tree1420f273ae5395fc0adc9aa25dcd44fe821884a6 /auth-rsa.c
parent5f16a5ee4e35d36e72f8f72fb2334087cb2ea680 (diff)
*** empty log message ***
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index 92f6277f9..bb2c91741 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -187,7 +187,7 @@ auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey)
187 secure_filename(f, file, pw, line, sizeof(line)) != 0) { 187 secure_filename(f, file, pw, line, sizeof(line)) != 0) {
188 xfree(file); 188 xfree(file);
189 fclose(f); 189 fclose(f);
190 log("Authentication refused: %s", line); 190 logit("Authentication refused: %s", line);
191 restore_uid(); 191 restore_uid();
192 return (0); 192 return (0);
193 } 193 }
@@ -246,7 +246,7 @@ auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey)
246 246
247 /* check the real bits */ 247 /* check the real bits */
248 if (bits != BN_num_bits(key->rsa->n)) 248 if (bits != BN_num_bits(key->rsa->n))
249 log("Warning: %s, line %lu: keysize mismatch: " 249 logit("Warning: %s, line %lu: keysize mismatch: "
250 "actual %d vs. announced %d.", 250 "actual %d vs. announced %d.",
251 file, linenum, BN_num_bits(key->rsa->n), bits); 251 file, linenum, BN_num_bits(key->rsa->n), bits);
252 252