diff options
Diffstat (limited to 'Marshal_EventSequenceComplete.c')
-rw-r--r-- | Marshal_EventSequenceComplete.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Marshal_EventSequenceComplete.c b/Marshal_EventSequenceComplete.c index d63e1c5..523bd45 100644 --- a/Marshal_EventSequenceComplete.c +++ b/Marshal_EventSequenceComplete.c @@ -47,6 +47,9 @@ TPM_RC EventSequenceComplete_In_Unmarshal(EventSequenceComplete_In* target, if (result != TPM_RC_SUCCESS) { return result; } + if ((result == TPM_RC_SUCCESS) && *size) { + result = TPM_RC_SIZE; + } return result; } |