summaryrefslogtreecommitdiff
path: root/Cryptlib/opensslconf-diff.patch
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2017-04-10 16:55:17 +0800
committerPeter Jones <pjones@redhat.com>2017-04-11 10:42:19 -0400
commit80d49f758ead0180bfe6161931838e0578248303 (patch)
tree35e120eda72247f93d588b6ec27d6a92602e7ae7 /Cryptlib/opensslconf-diff.patch
parent9bc647e2b23bcfd69a0077c0717fbc454c919a57 (diff)
downloadefi-boot-shim-80d49f758ead0180bfe6161931838e0578248303.tar.gz
efi-boot-shim-80d49f758ead0180bfe6161931838e0578248303.zip
Cryptlib: Remove MD4
MD4 is known to be insecure and shim never uses it. Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/opensslconf-diff.patch')
-rw-r--r--Cryptlib/opensslconf-diff.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/Cryptlib/opensslconf-diff.patch b/Cryptlib/opensslconf-diff.patch
new file mode 100644
index 00000000..76caa2c1
--- /dev/null
+++ b/Cryptlib/opensslconf-diff.patch
@@ -0,0 +1,14 @@
+diff --git a/Cryptlib/Include/openssl/opensslconf.h b/Cryptlib/Include/openssl/opensslconf.h
+index 1917d7a..68a2603 100644
+--- a/Cryptlib/Include/openssl/opensslconf.h
++++ b/Cryptlib/Include/openssl/opensslconf.h
+@@ -59,6 +59,9 @@ extern "C" {
+ #ifndef OPENSSL_NO_MD2
+ # define OPENSSL_NO_MD2
+ #endif
++#ifndef OPENSSL_NO_MD4
++# define OPENSSL_NO_MD4
++#endif
+ #ifndef OPENSSL_NO_MDC2
+ # define OPENSSL_NO_MDC2
+ #endif