]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/DxeImageVerificationLib: Disable SHA1 base on MACRO
authorZhichao Gao <zhichao.gao@intel.com>
Thu, 27 Aug 2020 07:48:59 +0000 (15:48 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 7 Sep 2020 02:38:42 +0000 (02:38 +0000)
commitcdfc7ed34fd1ddfc9cb1dfbc339f940950638f8d
tree7edf9543ca06e765d1d73a652a9507171051faf2
parent2ace920de1e91e22fb9bb2ec9e15ffd5e28e70ac
SecurityPkg/DxeImageVerificationLib: Disable SHA1 base on MACRO

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2943

Disable SHA1 base on the MACRO DISABLE_SHA1_DEPRECATED_INTERFACES.
SHA1 is deprecated function and the MACRO is used to remove the whole
implementation of the SHA1. For the platforms that do not need SHA1
for security, the MACRO should works for DxeImageVerificationLib as
well.

Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c