aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-06-26 11:22:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-06-26 11:22:48 +0000
commit89f4af695e06621fe66dfdecb3b3757981c758fb (patch)
treec89e8f2fcb624d11891d8998b63194e2d111d729
parent308bc9d919d57388f269c473778ea7f6a331d1c5 (diff)
include GSS in the debug string if available, support a few new flag
booleans
-rw-r--r--lib/version.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/version.c b/lib/version.c
index 4a9beb097..8191f9593 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -114,6 +114,10 @@ char *curl_version(void)
sprintf(ptr, " zlib/%s", zlibVersion());
ptr += strlen(ptr);
#endif
+#ifdef GSSAPI
+ sprintf(ptr, " GSS");
+ ptr += strlen(ptr);
+#endif
return version;
}
@@ -168,10 +172,17 @@ static curl_version_info_data version_info = {
#endif
#ifdef USE_SSLEAY
| CURL_VERSION_SSL
+ | CURL_VERSION_NTLM /* since this requires OpenSSL */
#endif
#ifdef HAVE_LIBZ
| CURL_VERSION_LIBZ
#endif
+#ifdef GSSAPI
+ | CURL_VERSION_GSSNEGOTIATE
+#endif
+#ifdef CURLDEBUG
+ | CURL_VERSION_DEBUG
+#endif
,
NULL, /* ssl_version */
0, /* ssl_version_num */