summaryrefslogtreecommitdiff
path: root/Cryptlib/opensslconf-diff.patch
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2017-04-10 17:23:29 +0800
committerPeter Jones <pjones@redhat.com>2017-09-08 14:47:09 -0400
commite992a913cf5f1d8eeaec345cc5c873a96bf4bb39 (patch)
tree7c17ce66aed401ada3082560cf6a122353227a76 /Cryptlib/opensslconf-diff.patch
parent70d49e332d0196a15f19cbc7c603b01057e3e901 (diff)
downloadefi-boot-shim-e992a913cf5f1d8eeaec345cc5c873a96bf4bb39.tar.gz
efi-boot-shim-e992a913cf5f1d8eeaec345cc5c873a96bf4bb39.zip
Cryptlib: remove DES
Disable DES completely since it's already old and insecure. This makes MokManager not support the DES based password hash but probably no one is using 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, 12 insertions, 2 deletions
diff --git a/Cryptlib/opensslconf-diff.patch b/Cryptlib/opensslconf-diff.patch
index 76caa2c1..efd2ea48 100644
--- a/Cryptlib/opensslconf-diff.patch
+++ b/Cryptlib/opensslconf-diff.patch
@@ -1,8 +1,18 @@
diff --git a/Cryptlib/Include/openssl/opensslconf.h b/Cryptlib/Include/openssl/opensslconf.h
-index 1917d7a..68a2603 100644
+index 1917d7a..c73d03a 100644
--- a/Cryptlib/Include/openssl/opensslconf.h
+++ b/Cryptlib/Include/openssl/opensslconf.h
-@@ -59,6 +59,9 @@ extern "C" {
+@@ -47,6 +47,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
+@@ -59,6 +62,9 @@ extern "C" {
#ifndef OPENSSL_NO_MD2
# define OPENSSL_NO_MD2
#endif