diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-08-09 17:56:51 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-08-09 20:25:08 +0100 |
commit | 72945b856e3cf9c3e91c902d3dd8d9412ebeec2e (patch) | |
tree | d81d34941f6e25b7580d30f3be3690617714a959 /lib/urldata.h | |
parent | d01e30431ceca2d201b123a37003e45090f7759b (diff) |
http_negotiate_sspi: Use a dynamic buffer for SPN generation
Updated to use a dynamic buffer for the SPN generation via the recently
introduced Curl_sasl_build_spn() function rather than a fixed buffer of
1024 characters, which should have been more than enough, but by using
the new function removes the need for another variable sname to do the
wide character conversion in Unicode builds.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 69f2297ba..0fbcf7451 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -463,7 +463,7 @@ struct negotiatedata { CredHandle *credentials; SEC_WINNT_AUTH_IDENTITY identity; SEC_WINNT_AUTH_IDENTITY *p_identity; - char server_name[1024]; + TCHAR *server_name; size_t max_token_length; BYTE *output_token; size_t output_token_length; |