mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Remove a redunant check.
This commit is contained in:
parent
2afb21f309
commit
8bbeea2b1d
1 changed files with 1 additions and 3 deletions
|
|
@ -607,9 +607,7 @@ swcr_authenc(struct cryptop *crp)
|
|||
bzero(blk, blksz);
|
||||
crypto_copydata(crp->crp_flags, buf,
|
||||
crde->crd_skip + i, len, blk);
|
||||
if (!(crde->crd_flags & CRD_F_ENCRYPT)) {
|
||||
exf->decrypt(swe->sw_kschedule, blk);
|
||||
}
|
||||
exf->decrypt(swe->sw_kschedule, blk);
|
||||
crypto_copyback(crp->crp_flags, buf,
|
||||
crde->crd_skip + i, len, blk);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue