Commit 84bc23b9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl_version_info() returns the feature bit CURL_VERSION_SSPI

parent d90472dd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@


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
  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
+1 −0
Original line number Diff line number Diff line
@@ -1382,6 +1382,7 @@ typedef struct {
#define CURL_VERSION_SPNEGO    (1<<8)  /* SPNEGO auth */
#define CURL_VERSION_LARGEFILE (1<<9)  /* supports files bigger than 2GB */
#define CURL_VERSION_IDN       (1<<10) /* International Domain Names support */
#define CURL_VERSION_SSPI      (1<<11) /* SSPI is supported */

/*
 * NAME curl_version_info()
+4 −1
Original line number Diff line number Diff line
@@ -196,7 +196,10 @@ static curl_version_info_data version_info = {
  | CURL_VERSION_SSL
#endif
#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
#ifdef HAVE_LIBZ
  | CURL_VERSION_LIBZ
+1 −0
Original line number Diff line number Diff line
@@ -2098,6 +2098,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
          {"NTLM", CURL_VERSION_NTLM},
          {"SPNEGO", CURL_VERSION_SPNEGO},
          {"SSL",  CURL_VERSION_SSL},
          {"SSPI",  CURL_VERSION_SSPI},
          {"krb4", CURL_VERSION_KERBEROS4},
          {"libz", CURL_VERSION_LIBZ}
        };