aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-06-01 10:35:48 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-06-01 10:35:52 +0100
commitaa6be2ef13d68c69cddcd5af28d321ef4901ca2a (patch)
tree08cadb5a69a75ac5cf21a42f7d1df2d63051a9df
parent9597b0ebcb21983bd5201cde2212aa488f342337 (diff)
curl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN generation
-rw-r--r--lib/curl_sasl_sspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_sasl_sspi.c b/lib/curl_sasl_sspi.c
index 2c14afdd9..0135d308e 100644
--- a/lib/curl_sasl_sspi.c
+++ b/lib/curl_sasl_sspi.c
@@ -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;