mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-30 18:31:53 +00:00
rev183: Sync ActGetCapabilityData with upstream
Since go.preservedSignaled is not available due to __ACT_DISABLED being defined apply the same conditional code enablement here. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
046ee612ac
commit
c63fd3f765
@ -290,6 +290,10 @@ ActGetCapabilityData(TPM_HANDLE actHandle, // IN: the handle for the starti
|
||||
SET_ATTRIBUTE(actData->attributes, TPMA_ACT, signaled);
|
||||
else
|
||||
CLEAR_ATTRIBUTE(actData->attributes, TPMA_ACT, signaled);
|
||||
#ifndef __ACT_DISABLED // libtpms added
|
||||
if(go.preservedSignaled & (1 << act))
|
||||
SET_ATTRIBUTE(actData->attributes, TPMA_ACT, preserveSignaled);
|
||||
#endif // libtpms added
|
||||
actList->count++;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user