aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-03 06:59:41 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-03 07:47:05 +0000
commit86b889485d739fb1884d5beb3b1f359e36d0d072 (patch)
tree880383f250aa1c8a7ea1268f28d22e828bdf4041
parentd784000a1468efc986c7d156d2e7c84d1920af87 (diff)
sasl_gssapi: Added GSS-API based Kerberos V5 variables
-rw-r--r--lib/urldata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index e433edd4c..075dca9b2 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -430,6 +430,7 @@ typedef enum {
/* Struct used for GSSAPI (Kerberos V5) authentication */
#if defined(USE_KERBEROS5)
struct kerberos5data {
+#if defined(USE_WINDOWS_SSPI)
CredHandle *credentials;
CtxtHandle *context;
TCHAR *spn;
@@ -437,6 +438,10 @@ struct kerberos5data {
SEC_WINNT_AUTH_IDENTITY *p_identity;
size_t token_max;
BYTE *output_token;
+#else
+ gss_ctx_id_t context;
+ gss_name_t spn;
+#endif
};
#endif