diff options
author | Grant Pannell <grant@pannell.net.au> | 2015-04-26 16:12:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-26 16:12:23 +0200 |
commit | 59f3f92ba6150e9a5a57f71b6e781802148916d0 (patch) | |
tree | 61f20d9de4e2732a9b73f0feaf4c1938b7cf79ce /lib/curl_sspi.h | |
parent | 6a7261359b4c7ebddff0c096468047077e7d06ef (diff) | |
download | curl-59f3f92ba6150e9a5a57f71b6e781802148916d0.tar.gz |
sasl_sspi: Populate domain from the realm in the challenge
Without this, SSPI based digest auth was broken.
Bug: https://github.com/bagder/curl/pull/141.patch
Diffstat (limited to 'lib/curl_sspi.h')
-rw-r--r-- | lib/curl_sspi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_sspi.h b/lib/curl_sspi.h index 7fa308c5a..8655715e2 100644 --- a/lib/curl_sspi.h +++ b/lib/curl_sspi.h @@ -43,6 +43,10 @@ CURLcode Curl_sspi_global_init(void); void Curl_sspi_global_cleanup(void); +/* This is used to populate the domain in a SSPI identity structure */ +CURLcode Curl_override_sspi_http_realm(const char *chlg, + SEC_WINNT_AUTH_IDENTITY *identity); + /* This is used to generate an SSPI identity structure */ CURLcode Curl_create_sspi_identity(const char *userp, const char *passwdp, SEC_WINNT_AUTH_IDENTITY *identity); |