mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
sasl_gssapi: Added GSS-API based Kerberos V5 variables
This commit is contained in:
parent
d784000a14
commit
86b889485d
@ -430,6 +430,7 @@ typedef enum {
|
|||||||
/* Struct used for GSSAPI (Kerberos V5) authentication */
|
/* Struct used for GSSAPI (Kerberos V5) authentication */
|
||||||
#if defined(USE_KERBEROS5)
|
#if defined(USE_KERBEROS5)
|
||||||
struct kerberos5data {
|
struct kerberos5data {
|
||||||
|
#if defined(USE_WINDOWS_SSPI)
|
||||||
CredHandle *credentials;
|
CredHandle *credentials;
|
||||||
CtxtHandle *context;
|
CtxtHandle *context;
|
||||||
TCHAR *spn;
|
TCHAR *spn;
|
||||||
@ -437,6 +438,10 @@ struct kerberos5data {
|
|||||||
SEC_WINNT_AUTH_IDENTITY *p_identity;
|
SEC_WINNT_AUTH_IDENTITY *p_identity;
|
||||||
size_t token_max;
|
size_t token_max;
|
||||||
BYTE *output_token;
|
BYTE *output_token;
|
||||||
|
#else
|
||||||
|
gss_ctx_id_t context;
|
||||||
|
gss_name_t spn;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user