curl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN generation
This commit is contained in:
parent
9597b0ebcb
commit
aa6be2ef13
@ -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…
x
Reference in New Issue
Block a user