Revision: 16540
http://sourceforge.net/p/edk2/code/16540
Author: jyao1
Date: 2014-12-19 05:21:55 +0000 (Fri, 19 Dec 2014)
Log Message:
-----------
Use better coding style.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed-by: "Qiu, Shumin" <[email protected]>
Modified Paths:
--------------
trunk/edk2/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
Modified: trunk/edk2/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
===================================================================
--- trunk/edk2/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c 2014-12-19
02:37:53 UTC (rev 16539)
+++ trunk/edk2/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c 2014-12-19
05:21:55 UTC (rev 16540)
@@ -99,7 +99,7 @@
Buffer += Salt->size;
*(TPM_SE *)Buffer = SessionType;
- Buffer += sizeof(UINT8);
+ Buffer++;
WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->algorithm));
Buffer += sizeof(UINT16);
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits