summaryrefslogtreecommitdiffstats
path: root/sys/crypto
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-07-25 20:00:55 +0000
committerpjd <pjd@FreeBSD.org>2006-07-25 20:00:55 +0000
commit773098d748b002882983a2552a73d7bb416acc79 (patch)
tree636aff33e33e66de260bc7c86dd34c889edc75a6 /sys/crypto
parent054c4a83ddaa66f87b0d18e1d7471e475a1b2357 (diff)
downloadFreeBSD-src-773098d748b002882983a2552a73d7bb416acc79.zip
FreeBSD-src-773098d748b002882983a2552a73d7bb416acc79.tar.gz
Remove redundant check committed by accident.
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/via/padlock_cipher.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/crypto/via/padlock_cipher.c b/sys/crypto/via/padlock_cipher.c
index 6b18621..698eb8b 100644
--- a/sys/crypto/via/padlock_cipher.c
+++ b/sys/crypto/via/padlock_cipher.c
@@ -210,8 +210,6 @@ padlock_cipher_process(struct padlock_session *ses, struct cryptodesc *enccrd,
return (ENOMEM);
/* Buffer has to be 16 bytes aligned. */
abuf = PADLOCK_ALIGN(buf);
- if (!allocated && abuf != buf)
- panic("allocated=%d abuf=%p buf=%p", allocated, abuf, buf);
if ((enccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) {
padlock_cipher_key_setup(ses, enccrd->crd_key,
OpenPOWER on IntegriCloud