Skip to content
Snippets Groups Projects
Commit 4c69827b authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2016 possibly better macro test for this fix

parent 66d9bf40
Branches
Tags
No related merge requests found
......@@ -23,14 +23,6 @@
#include <ac/string.h>
#include <ac/unistd.h>
/* KPASSWD/krb.h brings in a conflicting des.h so don't use both.
* configure currently requires OpenSSL to enable LMHASH. Obviously
* this requirement can be fulfilled by the KRB DES library as well.
*/
#if defined(SLAPD_LMHASH) && !defined(SLAPD_KPASSWD)
# include <openssl/des.h>
#endif /* SLAPD_LMHASH */
#ifdef SLAPD_SPASSWD
# ifdef HAVE_SASL_SASL_H
# include <sasl/sasl.h>
......@@ -44,6 +36,14 @@
# include <ac/krb5.h>
#endif
/* KPASSWD/krb.h brings in a conflicting des.h so don't use both.
* configure currently requires OpenSSL to enable LMHASH. Obviously
* this requirement can be fulfilled by the KRB DES library as well.
*/
#if defined(SLAPD_LMHASH) && !defined(DES_ENCRYPT)
# include <openssl/des.h>
#endif /* SLAPD_LMHASH */
#include <ac/param.h>
#ifdef SLAPD_CRYPT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment