From e992a913cf5f1d8eeaec345cc5c873a96bf4bb39 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Mon, 10 Apr 2017 17:23:29 +0800 Subject: 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 --- Cryptlib/opensslconf-diff.patch | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Cryptlib/opensslconf-diff.patch') 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 -- cgit v1.2.3