Remove redundant check committed by accident.

This commit is contained in:
Pawel Jakub Dawidek 2006-07-25 20:00:55 +00:00
parent b623eec509
commit 23acde08e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160677

View File

@ -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,