SecurityPkg: Add missing break in Tpm2TestParms

Add missing break in Tpm2TestParms.

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

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Rebecca Cran 2023-05-10 00:44:59 +08:00 committed by mergify[bot]
parent 77f75c7fb8
commit c6382ba0f2
1 changed files with 1 additions and 0 deletions

View File

@ -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);