mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
pms: Fix always true condition
Although this is vendor code, and apparently abandoned vendor code at that, this is clearly a mistake and always true. It's unclear how to contribute back to the upstream at this point, alas. PR: 217745 Reviewed by: imp
This commit is contained in:
parent
64dcfa2593
commit
ead758a67a
1 changed files with 1 additions and 1 deletions
|
|
@ -7217,7 +7217,7 @@ GLOBAL bit32 mpiDekManagementRsp(
|
|||
agEvent.encryptOperation = OSSA_HW_ENCRYPT_DEK_INVALIDTE;
|
||||
}
|
||||
agEvent.status = status;
|
||||
if (status == OSSA_MPI_ENC_ERR_ILLEGAL_DEK_PARAM || OSSA_MPI_ERR_DEK_MANAGEMENT_DEK_UNWRAP_FAIL)
|
||||
if (status == OSSA_MPI_ENC_ERR_ILLEGAL_DEK_PARAM || status == OSSA_MPI_ERR_DEK_MANAGEMENT_DEK_UNWRAP_FAIL)
|
||||
{
|
||||
agEvent.eq = errorQualifier;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue