summaryrefslogtreecommitdiff
path: root/Cryptlib/Include/openssl/opensslconf.h
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/Include/openssl/opensslconf.h
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/Include/openssl/opensslconf.h')
-rw-r--r--Cryptlib/Include/openssl/opensslconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cryptlib/Include/openssl/opensslconf.h b/Cryptlib/Include/openssl/opensslconf.h
index 46c4e13f..4a36e9f6 100644
--- a/Cryptlib/Include/openssl/opensslconf.h
+++ b/Cryptlib/Include/openssl/opensslconf.h
@@ -32,6 +32,9 @@ extern "C" {
#ifndef OPENSSL_NO_DGRAM
# define OPENSSL_NO_DGRAM
#endif
+#ifndef OPENSSL_NO_DES
+# define OPENSSL_NO_DES
+#endif
#ifndef OPENSSL_NO_DSA
# define OPENSSL_NO_DSA
#endif