summaryrefslogtreecommitdiff
path: root/src/mod_authn_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_authn_file.c')
-rw-r--r--src/mod_authn_file.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mod_authn_file.c b/src/mod_authn_file.c
index c7cff52e..2e342a5c 100644
--- a/src/mod_authn_file.c
+++ b/src/mod_authn_file.c
@@ -14,11 +14,7 @@
# define HAVE_CRYPT
#endif
-#if defined HAVE_LIBSSL && defined HAVE_OPENSSL_SSL_H
-#define USE_OPENSSL_CRYPTO
-#endif
-
-#ifdef USE_OPENSSL_CRYPTO
+#if defined(WITH_OPENSSL)
#include <openssl/md4.h>
#endif
@@ -645,7 +641,7 @@ static handler_t mod_authn_file_htpasswd_basic(server *srv, connection *con, voi
crypt_tmp_data.initialized = 0;
#endif
#endif
- #ifdef USE_OPENSSL_CRYPTO /* (for MD4_*() (e.g. MD4_Update())) */
+ #if defined(WITH_OPENSSL) /* (for MD4_*() (e.g. MD4_Update())) */
if (0 == memcmp(password->ptr, CONST_STR_LEN("$1+ntlm$"))) {
/* CRYPT-MD5-NTLM algorithm
* This algorithm allows for the construction of (slight more)