summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/Include
diff options
context:
space:
mode:
authorZhichao Gao <zhichao.gao@intel.com>2020-05-11 18:24:43 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-15 07:22:36 +0000
commitf4c15d3807999bd8f1b379d8bbc3453ae6a5b057 (patch)
tree51f6047c73a70501ed7a46e12205eaef0116a9bb /CryptoPkg/Library/Include
parentc22a32e1abd2c31c50bcf5eb160ccb5c0daf36ef (diff)
downloadedk2-f4c15d3807999bd8f1b379d8bbc3453ae6a5b057.tar.gz
edk2-f4c15d3807999bd8f1b379d8bbc3453ae6a5b057.tar.bz2
edk2-f4c15d3807999bd8f1b379d8bbc3453ae6a5b057.zip
CryptoPkg/OpensslLib: Set ARC4 disable in OpensslLib
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898 This patch is create by adding the setting "no_rc4" of process_files.pl and running it thru perl. It would remove the ARC4 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 70d24f99ac..f55b27ae81 100644
--- a/CryptoPkg/Library/Include/openssl/opensslconf.h
+++ b/CryptoPkg/Library/Include/openssl/opensslconf.h
@@ -73,6 +73,9 @@ extern "C" {
#ifndef OPENSSL_NO_RC2
# define OPENSSL_NO_RC2
#endif
+#ifndef OPENSSL_NO_RC4
+# define OPENSSL_NO_RC4
+#endif
#ifndef OPENSSL_NO_RC5
# define OPENSSL_NO_RC5
#endif