mirror of https://github.com/moparisthebest/curl
include GSS in the debug string if available, support a few new flag
booleans
This commit is contained in:
parent
308bc9d919
commit
89f4af695e
|
@ -114,6 +114,10 @@ char *curl_version(void)
|
||||||
sprintf(ptr, " zlib/%s", zlibVersion());
|
sprintf(ptr, " zlib/%s", zlibVersion());
|
||||||
ptr += strlen(ptr);
|
ptr += strlen(ptr);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef GSSAPI
|
||||||
|
sprintf(ptr, " GSS");
|
||||||
|
ptr += strlen(ptr);
|
||||||
|
#endif
|
||||||
|
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
@ -168,9 +172,16 @@ static curl_version_info_data version_info = {
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_SSLEAY
|
#ifdef USE_SSLEAY
|
||||||
| CURL_VERSION_SSL
|
| CURL_VERSION_SSL
|
||||||
|
| CURL_VERSION_NTLM /* since this requires OpenSSL */
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_LIBZ
|
#ifdef HAVE_LIBZ
|
||||||
| CURL_VERSION_LIBZ
|
| CURL_VERSION_LIBZ
|
||||||
|
#endif
|
||||||
|
#ifdef GSSAPI
|
||||||
|
| CURL_VERSION_GSSNEGOTIATE
|
||||||
|
#endif
|
||||||
|
#ifdef CURLDEBUG
|
||||||
|
| CURL_VERSION_DEBUG
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
NULL, /* ssl_version */
|
NULL, /* ssl_version */
|
||||||
|
|
Loading…
Reference in New Issue