From 8b199b813d8c9e59b514311a0c1fc16eb935ecb9 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 20 Feb 2015 08:52:24 -0500 Subject: Stop including the DES algorythm from openssl. Since we dropped support for LANMAN hashes we do not need DES from OpenSSL anymore. Stop including an testing for it. Test for the MD4 algorythm instead whichis still used for the NT Hashes. Signed-off-by: Simo Sorce Reviewed-By: Nathaniel McCallum --- daemons/configure.ac | 4 ++-- util/ipa_pwd_ntlm.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/daemons/configure.ac b/daemons/configure.ac index a62897e96..97cd25115 100644 --- a/daemons/configure.ac +++ b/daemons/configure.ac @@ -132,8 +132,8 @@ dnl --------------------------------------------------------------------------- dnl This is a very simple check, we should probably check also for MD4_Init and dnl probably also the version we are using is recent enough SSL_LIBS= -AC_CHECK_HEADER(openssl/des.h, [], [AC_MSG_ERROR([openssl/des.h not found])]) -AC_CHECK_LIB(crypto, DES_set_key_unchecked, [SSL_LIBS="-lcrypto"]) +AC_CHECK_HEADER(openssl/md4.h, [], [AC_MSG_ERROR([openssl/md4.h not found])]) +AC_CHECK_LIB(crypto, MD4_Init, [SSL_LIBS="-lcrypto"]) AC_SUBST(SSL_LIBS) dnl --------------------------------------------------------------------------- diff --git a/util/ipa_pwd_ntlm.c b/util/ipa_pwd_ntlm.c index c6abd4b8a..e7acb9be7 100644 --- a/util/ipa_pwd_ntlm.c +++ b/util/ipa_pwd_ntlm.c @@ -26,7 +26,6 @@ #include #include -#include #include #include -- cgit