]> granicus.if.org Git - curl/commit
vauth: Introduced Curl_auth_is_<mechansism>_supported() functions
authorSteve Holme <steve_holme@hotmail.com>
Sun, 20 Mar 2016 11:56:07 +0000 (11:56 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 18 Aug 2016 19:31:20 +0000 (20:31 +0100)
commita0f212946b1e839a673973930034b98031f1507c
tree176a18d51867ce716a224b607ca82f8752ba5b5f
parentcdd61dc35fc093f6e78da0168070a09f45becf5c
vauth: Introduced Curl_auth_is_<mechansism>_supported() functions

As Windows SSPI authentication calls fail when a particular mechanism
isn't available, introduced these functions for DIGEST, NTLM, Kerberos 5
and Negotiate to allow both HTTP and SASL authentication the opportunity
to query support for a supported mechanism before selecting it.

For now each function returns TRUE to maintain compatability with the
existing code when called.
lib/vauth/digest.c
lib/vauth/digest_sspi.c
lib/vauth/krb5_gssapi.c
lib/vauth/krb5_sspi.c
lib/vauth/ntlm.c
lib/vauth/ntlm_sspi.c
lib/vauth/spnego_gssapi.c
lib/vauth/spnego_sspi.c
lib/vauth/vauth.h