1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

curl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN generation

This commit is contained in:
Steve Holme 2014-06-01 10:35:48 +01:00
parent 9597b0ebcb
commit aa6be2ef13

View File

@ -111,7 +111,7 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
}
/* Calculate our SPN */
spn = aprintf("%s/%s", service, data->easy_conn->host);
spn = aprintf("%s/%s", service, data->easy_conn->host.name);
if(!spn)
return CURLE_OUT_OF_MEMORY;