urldata: Introduced a GSSAPI (Kerberos V5) data structure
Added a kerberos5data structure which is similar in nature to the ntlmdata and negotiatedata structures.
This commit is contained in:
parent
215f932e49
commit
3ec253532e
@ -425,6 +425,19 @@ typedef enum {
|
|||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Struct used for GSSAPI (Kerberos V5) authentication */
|
||||||
|
#if defined(USE_WINDOWS_SSPI)
|
||||||
|
struct kerberos5data {
|
||||||
|
CredHandle *credentials;
|
||||||
|
CtxtHandle *context;
|
||||||
|
TCHAR *spn;
|
||||||
|
SEC_WINNT_AUTH_IDENTITY identity;
|
||||||
|
SEC_WINNT_AUTH_IDENTITY *p_identity;
|
||||||
|
size_t token_max;
|
||||||
|
BYTE *output_token;
|
||||||
|
};
|
||||||
|
#endif;
|
||||||
|
|
||||||
/* Struct used for NTLM challenge-response authentication */
|
/* Struct used for NTLM challenge-response authentication */
|
||||||
struct ntlmdata {
|
struct ntlmdata {
|
||||||
curlntlm state;
|
curlntlm state;
|
||||||
@ -973,6 +986,10 @@ struct connectdata {
|
|||||||
struct sockaddr_in local_addr;
|
struct sockaddr_in local_addr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(USE_WINDOWS_SSPI) /* Consider moving some of the above GSS-API */
|
||||||
|
struct kerberos5data krb5; /* variables into the structure definition, */
|
||||||
|
#endif /* however, some of them are ftp specific. */
|
||||||
|
|
||||||
/* the two following *_inuse fields are only flags, not counters in any way.
|
/* the two following *_inuse fields are only flags, not counters in any way.
|
||||||
If TRUE it means the channel is in use, and if FALSE it means the channel
|
If TRUE it means the channel is in use, and if FALSE it means the channel
|
||||||
is up for grabs by one. */
|
is up for grabs by one. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user