summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/hostfile.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2003-04-08 20:21:28 +0000
committeritojun <itojun@openbsd.org>2003-04-08 20:21:28 +0000
commit7e56a8a60ec722a5f455b4ae9ceeb1ed1879c77a (patch)
tree4fa5113b9414d5d3d8016333d209cab2d6facefd /usr.bin/ssh/hostfile.c
parenteasy sprintf in code we don't use (diff)
downloadwireguard-openbsd-7e56a8a60ec722a5f455b4ae9ceeb1ed1879c77a.tar.xz
wireguard-openbsd-7e56a8a60ec722a5f455b4ae9ceeb1ed1879c77a.zip
rename log() into logit() to avoid name conflict. markus ok, from netbsd
Diffstat (limited to 'usr.bin/ssh/hostfile.c')
-rw-r--r--usr.bin/ssh/hostfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/hostfile.c b/usr.bin/ssh/hostfile.c
index dcee0344833..42a8aa71dae 100644
--- a/usr.bin/ssh/hostfile.c
+++ b/usr.bin/ssh/hostfile.c
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: hostfile.c,v 1.30 2002/07/24 16:11:18 markus Exp $");
+RCSID("$OpenBSD: hostfile.c,v 1.31 2003/04/08 20:21:28 itojun Exp $");
#include "packet.h"
#include "match.h"
@@ -77,10 +77,10 @@ hostfile_check_key(int bits, Key *key, const char *host, const char *filename, i
if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL)
return 1;
if (bits != BN_num_bits(key->rsa->n)) {
- log("Warning: %s, line %d: keysize mismatch for host %s: "
+ logit("Warning: %s, line %d: keysize mismatch for host %s: "
"actual %d vs. announced %d.",
filename, linenum, host, BN_num_bits(key->rsa->n), bits);
- log("Warning: replace %d with %d in %s, line %d.",
+ logit("Warning: replace %d with %d in %s, line %d.",
bits, BN_num_bits(key->rsa->n), filename, linenum);
}
return 1;