mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08: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 */
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user