aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/socks_sspi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/socks_sspi.c b/lib/socks_sspi.c
index c6810c734..3318794c6 100644
--- a/lib/socks_sspi.c
+++ b/lib/socks_sspi.c
@@ -25,7 +25,6 @@
#include "setup.h"
#ifdef USE_WINDOWS_SSPI
-#include <ntsecapi.h>
#include <string.h>
@@ -46,6 +45,12 @@
#include "memdebug.h"
/*
+ * Definitions required from ntsecapi.h are directly provided below this point
+ * to avoid including ntsecapi.h due to a conflict with OpenSSL's safestack.h
+ */
+#define KERB_WRAP_NO_ENCRYPT 0x80000001
+
+/*
* Helper sspi error functions.
*/
static int check_sspi_err(struct SessionHandle *data,