summaryrefslogtreecommitdiff
path: root/sys/crypto
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-05-30 03:33:24 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-05-30 03:33:24 +0000
commitf2ef183a2142b44d7ea247ede96da74f5c211844 (patch)
tree3b18747fb147ffdb8a9f7e2b9847f151dc2e5fbb /sys/crypto
parentb4c032ea084cbb173fef4fd3cb4ff860ab92cda1 (diff)
move max limit back down to 65536-4
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c
index 25386790a0a..25b91cd5ba2 100644
--- a/sys/crypto/cryptodev.c
+++ b/sys/crypto/cryptodev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.c,v 1.55 2002/11/21 19:34:25 jason Exp $ */
+/* $OpenBSD: cryptodev.c,v 1.56 2003/05/30 03:33:23 jason Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -301,7 +301,7 @@ cryptodev_op(struct csession *cse, struct crypt_op *cop, struct proc *p)
struct cryptodesc *crde = NULL, *crda = NULL;
int i, error;
- if (cop->len > 256*1024-4)
+ if (cop->len > 64*1024-4)
return (E2BIG);
if (cse->txform && (cop->len % cse->txform->blocksize) != 0) {