aboutsummaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r--lib/http_negotiate.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index 9644a751c..d47c9aecd 100644
--- a/lib/http_negotiate.c
+++ b/lib/http_negotiate.c
@@ -43,12 +43,16 @@
#include "memory.h"
#ifdef HAVE_SPNEGO
-# include <spnegohelp.h>
-# if defined(USE_OPENSSL) && !defined(USE_YASSLEMUL)
-# include <openssl/objects.h>
-# else
-# error "Can't compile SPNEGO support without OpenSSL."
-# endif
+# include <spnegohelp.h>
+# ifdef USE_SSLEAY
+# ifdef USE_OPENSSL
+# include <openssl/objects.h>
+# else
+# include <objects.h>
+# endif
+# else
+# error "Can't compile SPNEGO support without OpenSSL."
+# endif
#endif
#define _MPRINTF_REPLACE /* use our functions only */