public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] SecurityPkg: Add missing break in Tpm2TestParms
@ 2023-05-09 16:44 Rebecca Cran
  2023-05-10  0:13 ` Yao, Jiewen
  0 siblings, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2023-05-09 16:44 UTC (permalink / raw)
  To: devel, Jiewen Yao, Jian J Wang, Michael D Kinney, Liming Gao; +Cc: Rebecca Cran

Add missing break in Tpm2TestParms.

Reported in https://github.com/tianocore/edk2/issues/4073

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
---
 SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c
index 9db301ec9a90..f0e6019a47be 100644
--- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c
+++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c
@@ -743,6 +743,7 @@ Tpm2TestParms (
           return EFI_INVALID_PARAMETER;
       }
 
+      break;
     case TPM_ALG_SYMCIPHER:
       WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.symDetail.algorithm));
       Buffer += sizeof (UINT16);
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-11  3:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09 16:44 [PATCH 1/1] SecurityPkg: Add missing break in Tpm2TestParms Rebecca Cran
2023-05-10  0:13 ` Yao, Jiewen
2023-05-11  1:46   ` 回复: [edk2-devel] " gaoliming
2023-05-11  3:34     ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox