From 59f3f92ba6150e9a5a57f71b6e781802148916d0 Mon Sep 17 00:00:00 2001 From: Grant Pannell Date: Sun, 26 Apr 2015 16:12:23 +0200 Subject: 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 --- lib/curl_sspi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/curl_sspi.h') 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); -- cgit v1.2.3