projects
/
mirror_edk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3532030
)
Use better coding style.
author
Yao, Jiewen
<jiewen.yao@intel.com>
Fri, 19 Dec 2014 05:21:55 +0000
(
05:21
+0000)
committer
jyao1
<jyao1@Edk2>
Fri, 19 Dec 2014 05:21:55 +0000
(
05:21
+0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Qiu, Shumin" <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16540
6f19259b
-4bc3-4df7-8a09-
765794883524
SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
patch
|
blob
|
blame
|
history
diff --git
a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
index 2cbc6272d06254485fd75167d669f7cb9ee3511f..f03b6689ac02454e09e170469a8b376805b806a1 100644
(file)
--- a/
SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
+++ b/
SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
@@
-99,7
+99,7
@@
Tpm2StartAuthSession (
Buffer += Salt->size;
\r
\r
*(TPM_SE *)Buffer = SessionType;
\r
- Buffer
+= sizeof(UINT8)
;
\r
+ Buffer
++
;
\r
\r
WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->algorithm));
\r
Buffer += sizeof(UINT16);
\r