mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Remove redundant check committed by accident.
This commit is contained in:
parent
b623eec509
commit
23acde08e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160677
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user