diff options
author | Liming Gao <liming.gao@intel.com> | 2018-03-27 10:29:48 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-03-28 14:39:16 +0800 |
commit | 89b2d05780e08e386ff47db8c944f654c76d94b6 (patch) | |
tree | 28cf971db5db6c39d49cfdeb03f819ce3566e2e3 /NetworkPkg/Mtftp6Dxe/Mtftp6Impl.h | |
parent | bc9cea5c29455386b8e5f1c5e97f2a2760e1f271 (diff) | |
download | edk2-89b2d05780e08e386ff47db8c944f654c76d94b6.tar.gz edk2-89b2d05780e08e386ff47db8c944f654c76d94b6.tar.bz2 edk2-89b2d05780e08e386ff47db8c944f654c76d94b6.zip |
BaseTools: Update Rsa2048Sha256Sign to use openssl standard options
sha256 is not the standard option. It should be replaced by sha -sha256.
Otherwise, it doesn't work in MAC OS.
In V2, update the option to sha1 -sha256.
In late openssl version >= 1.1, there is no sha option, but has sha1,sha256.
In previous openssl version < 1.1, there is no sha256, but has sha,sha1.
To work with all openssl version, use sha1 -sha256 for it.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liao Jui-peng <jui-pengx.liao@intel.com>
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
(cherry picked from commit 1d574dfc15e4495a4063ce4faf3c2e9191677d8d)
Diffstat (limited to 'NetworkPkg/Mtftp6Dxe/Mtftp6Impl.h')
0 files changed, 0 insertions, 0 deletions