]> git.ipfire.org Git - thirdparty/curl.git/commit
sasl: Fixed Kerberos V5 inclusion when CURL_DISABLE_CRYPTO_AUTH is used
authorSteve Holme <steve_holme@hotmail.com>
Sun, 2 Nov 2014 00:24:32 +0000 (00:24 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 2 Nov 2014 00:35:16 +0000 (00:35 +0000)
commitb6821dbb91a7433d7451c1ad4cbd49cc4b8a71a9
treeaa55f2ea79191187bd7d93d80618eb802b63b43b
parentb04eef13182dd3d26bf095758d27b13556583fab
sasl: Fixed Kerberos V5 inclusion when CURL_DISABLE_CRYPTO_AUTH is used

Typically the USE_WINDOWS_SSPI definition would not be used when the
CURL_DISABLE_CRYPTO_AUTH define is, however, it is still a valid build
configuration and, as such, the SASL Kerberos V5 (GSSAPI) authentication
data structures and functions would incorrectly be used when they
shouldn't be.

Introduced a new USE_KRB5 definition that takes into account the use of
CURL_DISABLE_CRYPTO_AUTH like USE_SPNEGO and USE_NTLM do.
lib/curl_sasl.c
lib/curl_sasl.h
lib/curl_sasl_sspi.c
lib/curl_setup.h
lib/imap.c
lib/pop3.c
lib/smtp.c
lib/urldata.h