diff options
-rw-r--r-- | daemons/configure.ac | 4 | ||||
-rw-r--r-- | 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 <stdbool.h> #include <iconv.h> -#include <openssl/des.h> #include <openssl/md4.h> #include <dirsrv/slapi-plugin.h> |