mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
curl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN generation
This commit is contained in:
parent
9597b0ebcb
commit
aa6be2ef13
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Calculate our SPN */
|
/* Calculate our SPN */
|
||||||
spn = aprintf("%s/%s", service, data->easy_conn->host);
|
spn = aprintf("%s/%s", service, data->easy_conn->host.name);
|
||||||
if(!spn)
|
if(!spn)
|
||||||
return CURLE_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue