mirror of https://github.com/moparisthebest/curl
curl_version_info() returns the feature bit CURL_VERSION_SSPI
This commit is contained in:
parent
d90472dd64
commit
84bc23b92f
3
CHANGES
3
CHANGES
|
@ -8,6 +8,9 @@
|
||||||
|
|
||||||
|
|
||||||
Daniel (11 March 2005)
|
Daniel (11 March 2005)
|
||||||
|
- curl_version_info() returns the feature bit CURL_VERSION_SSPI if it was
|
||||||
|
built with SSPI support.
|
||||||
|
|
||||||
- Christopher R. Palmer made it possible to build libcurl with the
|
- Christopher R. Palmer made it possible to build libcurl with the
|
||||||
USE_WINDOWS_SSPI on Windows, and then libcurl will be built to use the
|
USE_WINDOWS_SSPI on Windows, and then libcurl will be built to use the
|
||||||
native way to do NTLM. SSPI also allows libcurl to pass on the current user
|
native way to do NTLM. SSPI also allows libcurl to pass on the current user
|
||||||
|
|
|
@ -1382,6 +1382,7 @@ typedef struct {
|
||||||
#define CURL_VERSION_SPNEGO (1<<8) /* SPNEGO auth */
|
#define CURL_VERSION_SPNEGO (1<<8) /* SPNEGO auth */
|
||||||
#define CURL_VERSION_LARGEFILE (1<<9) /* supports files bigger than 2GB */
|
#define CURL_VERSION_LARGEFILE (1<<9) /* supports files bigger than 2GB */
|
||||||
#define CURL_VERSION_IDN (1<<10) /* International Domain Names support */
|
#define CURL_VERSION_IDN (1<<10) /* International Domain Names support */
|
||||||
|
#define CURL_VERSION_SSPI (1<<11) /* SSPI is supported */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NAME curl_version_info()
|
* NAME curl_version_info()
|
||||||
|
|
|
@ -196,7 +196,10 @@ static curl_version_info_data version_info = {
|
||||||
| CURL_VERSION_SSL
|
| CURL_VERSION_SSL
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_SSLEAY) || defined(USE_WINDOWS_SSPI)
|
#if defined(USE_SSLEAY) || defined(USE_WINDOWS_SSPI)
|
||||||
| CURL_VERSION_NTLM /* since this requires OpenSSL */
|
| CURL_VERSION_NTLM
|
||||||
|
#endif
|
||||||
|
#ifdef USE_WINDOWS_SSPI
|
||||||
|
| CURL_VERSION_SSPI
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_LIBZ
|
#ifdef HAVE_LIBZ
|
||||||
| CURL_VERSION_LIBZ
|
| CURL_VERSION_LIBZ
|
||||||
|
|
|
@ -2098,6 +2098,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||||
{"NTLM", CURL_VERSION_NTLM},
|
{"NTLM", CURL_VERSION_NTLM},
|
||||||
{"SPNEGO", CURL_VERSION_SPNEGO},
|
{"SPNEGO", CURL_VERSION_SPNEGO},
|
||||||
{"SSL", CURL_VERSION_SSL},
|
{"SSL", CURL_VERSION_SSL},
|
||||||
|
{"SSPI", CURL_VERSION_SSPI},
|
||||||
{"krb4", CURL_VERSION_KERBEROS4},
|
{"krb4", CURL_VERSION_KERBEROS4},
|
||||||
{"libz", CURL_VERSION_LIBZ}
|
{"libz", CURL_VERSION_LIBZ}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue