summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-04-05 18:13:21 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-04-05 18:13:21 +0000
commitec2a10f3444e39a36e94bccf99c9b3ffaf76695e (patch)
treebb9fd08ee92fe823de04fc5effa2dd7d0dc772c0 /sbin
parent50223d187ce118cb0122d63e17afdf6e066a2ac8 (diff)
Do not log before/after crypto blobs at log level 10. Makes -DA=10
useable without enduring pages of hex. OK hshoexer
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/crypto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/crypto.c b/sbin/isakmpd/crypto.c
index d74191ede90..f815cd6f1d3 100644
--- a/sbin/isakmpd/crypto.c
+++ b/sbin/isakmpd/crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.c,v 1.22 2004/06/14 09:55:41 ho Exp $ */
+/* $OpenBSD: crypto.c,v 1.23 2005/04/05 18:13:20 cloder Exp $ */
/* $EOM: crypto.c,v 1.32 2000/03/07 20:08:51 niklas Exp $ */
/*
@@ -366,7 +366,7 @@ crypto_init_iv(struct keystate *ks, u_int8_t *buf, size_t len)
void
crypto_encrypt(struct keystate *ks, u_int8_t *buf, u_int16_t len)
{
- LOG_DBG_BUF((LOG_CRYPTO, 10, "crypto_encrypt: before encryption", buf,
+ LOG_DBG_BUF((LOG_CRYPTO, 30, "crypto_encrypt: before encryption", buf,
len));
ks->xf->encrypt(ks, buf, len);
memcpy(ks->liv, buf + len - ks->xf->blocksize, ks->xf->blocksize);
@@ -377,7 +377,7 @@ crypto_encrypt(struct keystate *ks, u_int8_t *buf, u_int16_t len)
void
crypto_decrypt(struct keystate *ks, u_int8_t *buf, u_int16_t len)
{
- LOG_DBG_BUF((LOG_CRYPTO, 10, "crypto_decrypt: before decryption", buf,
+ LOG_DBG_BUF((LOG_CRYPTO, 30, "crypto_decrypt: before decryption", buf,
len));
/*
* XXX There is controversy about the correctness of updating the IV