diff options
author | Yang Tse <yangsita@gmail.com> | 2012-06-13 15:53:51 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-06-13 16:42:48 +0200 |
commit | 819afe46eeab2c7fa4738e4d77fa2a79a7bb8ebe (patch) | |
tree | 14bb997f237faf1249737cd0580fda083bdab5e9 /lib/version.c | |
parent | c13af843727c06ffec1031129ec5c30dfcd5066e (diff) | |
download | curl-819afe46eeab2c7fa4738e4d77fa2a79a7bb8ebe.tar.gz |
schannel: remove version number and identify its use with 'schannel' literal
Version number is removed in order to make this info consistent with
how we do it with other MS and Linux system libraries for which we don't
provide this info.
Identifier changed from 'WinSSPI' to 'schannel' given that this is the
actual provider of the SSL/TLS support. libcurl can still be built with
SSPI and without SCHANNEL support.
Diffstat (limited to 'lib/version.c')
-rw-r--r-- | lib/version.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/version.c b/lib/version.c index 9f9fc78b1..783732403 100644 --- a/lib/version.c +++ b/lib/version.c @@ -67,11 +67,6 @@ char *curl_version(void) char *ptr = version; size_t len; size_t left = sizeof(version); -#ifdef USE_WINDOWS_SSPI -#ifndef USE_SCHANNEL - int sspi_major = 0, sspi_minor = 0, sspi_build = 0; -#endif -#endif strcpy(ptr, LIBCURL_NAME "/" LIBCURL_VERSION); len = strlen(ptr); @@ -88,19 +83,6 @@ char *curl_version(void) } } -#ifdef USE_WINDOWS_SSPI -#ifndef USE_SCHANNEL - if(CURLE_OK == Curl_sspi_version(&sspi_major, &sspi_minor, &sspi_build, - NULL)) - len = snprintf(ptr, left, " WinSSPI/%d.%d.%d", sspi_major, sspi_minor, - sspi_build); - else - len = snprintf(ptr, left, " WinSSPI/unknown"); - - left -= len; - ptr += len; -#endif -#endif #ifdef HAVE_LIBZ len = snprintf(ptr, left, " zlib/%s", zlibVersion()); left -= len; |