]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/BaseCryptLib:Remove redundant init
authorWenyi Xie <xiewenyi2@huawei.com>
Thu, 15 Sep 2022 09:26:20 +0000 (17:26 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 23 Sep 2022 00:36:29 +0000 (00:36 +0000)
commit6f340acfb10992af914ed5e17127cc786e0a7f7b
tree2e570abcd10b91f14456cd9cbc7ac4d9b778f06d
parentdd1e20b3c281940c5b5783151b24cf6ceeb31ca3
CryptoPkg/BaseCryptLib:Remove redundant init

CertCtx is used to be defined as a struct and ZeroMem is called to
init this struct. But now CertCtx is defined as a point, so use
ZeroMem (&CertCtx, sizeof (CertCtx)) is not correct any more.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c