summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-02-20 08:52:24 -0500
committerMartin Kosek <mkosek@redhat.com>2015-02-23 16:27:22 +0100
commit8b199b813d8c9e59b514311a0c1fc16eb935ecb9 (patch)
tree547270e8260fbf8dc36b4e881be5446d64d1aa0b
parentd762f61d25508c1856c0fa7dc0ea1e032671542b (diff)
downloadfreeipa-8b199b813d8c9e59b514311a0c1fc16eb935ecb9.tar.gz
freeipa-8b199b813d8c9e59b514311a0c1fc16eb935ecb9.tar.xz
freeipa-8b199b813d8c9e59b514311a0c1fc16eb935ecb9.zip
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 <simo@redhat.com> Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
-rw-r--r--daemons/configure.ac4
-rw-r--r--util/ipa_pwd_ntlm.c1
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 <stdbool.h>
#include <iconv.h>
-#include <openssl/des.h>
#include <openssl/md4.h>
#include <dirsrv/slapi-plugin.h>