summaryrefslogtreecommitdiffstats
path: root/sys/opencrypto/cryptosoft.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-06-04 14:25:16 +0000
committerpjd <pjd@FreeBSD.org>2006-06-04 14:25:16 +0000
commitec1159e0d51c3caa37cf7f5240e4de7440c61a3e (patch)
treef3a73fa8fc38892b0817f48b7cc0863436e40233 /sys/opencrypto/cryptosoft.c
parentd6c88e2e507b72c0072306b9c54c33a240238f26 (diff)
downloadFreeBSD-src-ec1159e0d51c3caa37cf7f5240e4de7440c61a3e.zip
FreeBSD-src-ec1159e0d51c3caa37cf7f5240e4de7440c61a3e.tar.gz
Rename AALG_MAX_RESULT_LEN to HASH_MAX_LEN to look more constent with
other defines.
Diffstat (limited to 'sys/opencrypto/cryptosoft.c')
-rw-r--r--sys/opencrypto/cryptosoft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c
index dd6714b..4d1eca0 100644
--- a/sys/opencrypto/cryptosoft.c
+++ b/sys/opencrypto/cryptosoft.c
@@ -473,7 +473,7 @@ static int
swcr_authcompute(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf,
int outtype)
{
- unsigned char aalg[AALG_MAX_RESULT_LEN];
+ unsigned char aalg[HASH_MAX_LEN];
struct auth_hash *axf;
union authctx ctx;
int err;
OpenPOWER on IntegriCloud