]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sspi: Moved KERB_WRAP_NO_ENCRYPT from socks_sspi module
authorSteve Holme <steve_holme@hotmail.com>
Wed, 13 Aug 2014 21:59:28 +0000 (22:59 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 14 Aug 2014 00:05:52 +0000 (01:05 +0100)
In preparation for the upcoming SSPI implementation of GSSAPI
authentication, moved the definition of KERB_WRAP_NO_ENCRYPT from
socks_sspi.c to curl_sspi.h allowing it to be shared amongst other
SSPI based code.

lib/curl_sspi.h
lib/socks_sspi.c

index 812d7a849a64e123302f462a8f2f40586ad53703..5ab17d5fd4fb899ba8ed3fac564f405d5eb77ea1 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -304,5 +304,12 @@ extern PSecurityFunctionTable s_pSecFn;
      (unsigned long)SEC_WINNT_AUTH_IDENTITY_ANSI
 #endif
 
+/*
+ * 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
+
 #endif /* USE_WINDOWS_SSPI */
+
 #endif /* HEADER_CURL_SSPI_H */
index ed005b6f522c3b371562aa2fac698a32c54160db..82684e0a3db1b6f1ed6717ca36a3cd5c52a74bf2 100644 (file)
@@ -6,7 +6,7 @@
  *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 2009, 2011, Markus Moeller, <markus_moeller@compuserve.com>
- * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
 /* The last #include file should be: */
 #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.
  */