mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-13 06:00:57 +00:00

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>
25 lines
617 B
Diff
25 lines
617 B
Diff
diff --git a/Cryptlib/Include/openssl/opensslconf.h b/Cryptlib/Include/openssl/opensslconf.h
|
|
index 1917d7a..c73d03a 100644
|
|
--- a/Cryptlib/Include/openssl/opensslconf.h
|
|
+++ b/Cryptlib/Include/openssl/opensslconf.h
|
|
@@ -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
|
|
+#ifndef OPENSSL_NO_MD4
|
|
+# define OPENSSL_NO_MD4
|
|
+#endif
|
|
#ifndef OPENSSL_NO_MDC2
|
|
# define OPENSSL_NO_MDC2
|
|
#endif
|