diff options
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c index 2cbc6272d0..f03b6689ac 100644 --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c @@ -99,7 +99,7 @@ Tpm2StartAuthSession ( Buffer += Salt->size;
*(TPM_SE *)Buffer = SessionType;
- Buffer += sizeof(UINT8);
+ Buffer++;
WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->algorithm));
Buffer += sizeof(UINT16);
|