summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/Include
diff options
context:
space:
mode:
authorZhichao Gao <zhichao.gao@intel.com>2020-05-11 18:57:55 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-15 07:22:36 +0000
commit394d58965222cff491e663e0ccbe9b7e87f5d630 (patch)
tree7ffa4e5477c6e34e224b4b84087623e20edeac03 /CryptoPkg/Library/Include
parentb8af2c9eda561c5a0c00982d6b42e2955de4b95c (diff)
downloadedk2-394d58965222cff491e663e0ccbe9b7e87f5d630.tar.gz
edk2-394d58965222cff491e663e0ccbe9b7e87f5d630.tar.bz2
edk2-394d58965222cff491e663e0ccbe9b7e87f5d630.zip
CryptoPkg/OpensslLib: Set TDES disable in OpensslLib
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898 This patch is create by adding the setting "no_des" of process_files.pl and running it thru perl. It would remove the TDES from OpensslLib. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'CryptoPkg/Library/Include')
-rw-r--r--CryptoPkg/Library/Include/openssl/opensslconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/CryptoPkg/Library/Include/openssl/opensslconf.h b/CryptoPkg/Library/Include/openssl/opensslconf.h
index f55b27ae81..70862e1054 100644
--- a/CryptoPkg/Library/Include/openssl/opensslconf.h
+++ b/CryptoPkg/Library/Include/openssl/opensslconf.h
@@ -49,6 +49,9 @@ extern "C" {
#ifndef OPENSSL_NO_CT
# define OPENSSL_NO_CT
#endif
+#ifndef OPENSSL_NO_DES
+# define OPENSSL_NO_DES
+#endif
#ifndef OPENSSL_NO_DSA
# define OPENSSL_NO_DSA
#endif