From: "Rebecca Cran" <rebecca@bsdio.com>
To: devel@edk2.groups.io, Jiewen Yao <jiewen.yao@intel.com>,
Jian J Wang <jian.j.wang@intel.com>,
Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>
Cc: Rebecca Cran <rebecca@bsdio.com>
Subject: [PATCH 1/1] SecurityPkg: Add missing break in Tpm2TestParms
Date: Tue, 9 May 2023 10:44:59 -0600 [thread overview]
Message-ID: <20230509164459.1715438-1-rebecca@bsdio.com> (raw)
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
next reply other threads:[~2023-05-09 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 16:44 Rebecca Cran [this message]
2023-05-10 0:13 ` [PATCH 1/1] SecurityPkg: Add missing break in Tpm2TestParms Yao, Jiewen
2023-05-11 1:46 ` 回复: [edk2-devel] " gaoliming
2023-05-11 3:34 ` Yao, Jiewen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230509164459.1715438-1-rebecca@bsdio.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox