1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

version info: Added Kerberos V5 to the supported features

This commit is contained in:
Steve Holme 2014-11-07 10:40:01 +00:00
parent f28c856e33
commit 7599143dcc
5 changed files with 13 additions and 2 deletions

View File

@ -20,7 +20,7 @@
.\" * .\" *
.\" ************************************************************************** .\" **************************************************************************
.\" .\"
.TH curl_version_info 3 "2 Aug 2014" "libcurl 7.38.0" "libcurl Manual" .TH curl_version_info 3 "2 Nov 2014" "libcurl 7.40.0" "libcurl Manual"
.SH NAME .SH NAME
curl_version_info - returns run-time libcurl version info curl_version_info - returns run-time libcurl version info
.SH SYNOPSIS .SH SYNOPSIS
@ -96,7 +96,10 @@ bits are:
.IP CURL_VERSION_IPV6 .IP CURL_VERSION_IPV6
supports IPv6 supports IPv6
.IP CURL_VERSION_KERBEROS4 .IP CURL_VERSION_KERBEROS4
supports kerberos4 (when using FTP) supports Kerberos V4 (when using FTP)
.IP CURL_VERSION_KERBEROS5
supports Kerberos V5 authentication for FTP, IMAP, POP3, SMTP and SOCKSv5 proxy
(Added in 7.40.0)
.IP CURL_VERSION_SSL .IP CURL_VERSION_SSL
supports SSL (HTTPS/FTPS) (Added in 7.10) supports SSL (HTTPS/FTPS) (Added in 7.10)
.IP CURL_VERSION_LIBZ .IP CURL_VERSION_LIBZ

View File

@ -738,6 +738,7 @@ CURL_VERSION_HTTP2 7.33.0
CURL_VERSION_IDN 7.12.0 CURL_VERSION_IDN 7.12.0
CURL_VERSION_IPV6 7.10 CURL_VERSION_IPV6 7.10
CURL_VERSION_KERBEROS4 7.10 7.33.0 CURL_VERSION_KERBEROS4 7.10 7.33.0
CURL_VERSION_KERBEROS5 7.40.0
CURL_VERSION_LARGEFILE 7.11.1 CURL_VERSION_LARGEFILE 7.11.1
CURL_VERSION_LIBZ 7.10 CURL_VERSION_LIBZ 7.10
CURL_VERSION_NTLM 7.10.6 CURL_VERSION_NTLM 7.10.6

View File

@ -2261,6 +2261,7 @@ typedef struct {
#define CURL_VERSION_NTLM_WB (1<<15) /* NTLM delegating to winbind helper */ #define CURL_VERSION_NTLM_WB (1<<15) /* NTLM delegating to winbind helper */
#define CURL_VERSION_HTTP2 (1<<16) /* HTTP2 support built-in */ #define CURL_VERSION_HTTP2 (1<<16) /* HTTP2 support built-in */
#define CURL_VERSION_GSSAPI (1<<17) /* GSS-API is supported */ #define CURL_VERSION_GSSAPI (1<<17) /* GSS-API is supported */
#define CURL_VERSION_KERBEROS5 (1<<18) /* Kerberos V5 auth is supported */
/* /*
* NAME curl_version_info() * NAME curl_version_info()

View File

@ -253,7 +253,11 @@ static curl_version_info_data version_info = {
#ifdef USE_SPNEGO #ifdef USE_SPNEGO
| CURL_VERSION_SPNEGO | CURL_VERSION_SPNEGO
#endif #endif
#ifdef USE_KRB5
| CURL_VERSION_KERBEROS5
#endif
#ifdef HAVE_GSSAPI #ifdef HAVE_GSSAPI
| CURL_VERSION_KERBEROS5 /* Remove when SASL Kerberos V5 support added */
| CURL_VERSION_GSSAPI | CURL_VERSION_GSSAPI
#endif #endif
#ifdef USE_WINDOWS_SSPI #ifdef USE_WINDOWS_SSPI

View File

@ -119,6 +119,8 @@
d c X'00010000' d c X'00010000'
d CURL_VERSION_GSSAPI... d CURL_VERSION_GSSAPI...
d c X'00020000' d c X'00020000'
d CURL_VERSION_KERBEROS5...
d c X'00040000'
* *
d HTTPPOST_FILENAME... d HTTPPOST_FILENAME...
d c X'00000001' d c X'00000001'