diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-08-09 16:26:58 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-08-09 16:40:24 +0100 |
commit | 1b69122810462cff569eb0929230961aa356bae0 (patch) | |
tree | ec25943700e724163629d40ae322f7c05d5a1b85 /lib/hostasyn.c | |
parent | e9b4a96975e24ad75167e367d64f33daee887dcd (diff) |
sasl: Introduced Curl_sasl_build_spn() for building a SPN
Various parts of the libcurl source code build a SPN for inclusion in
authentication data. This information is either used by our own native
generation routines or passed to authentication functions in third-party
libraries such as SSPI. However, some of these instances use fixed
buffers rather than dynamically allocated ones and not all of those that
should, convert to wide character strings in Unicode builds.
Implemented a common function that generates a SPN and performs the
wide character conversion where necessary.
Diffstat (limited to 'lib/hostasyn.c')
0 files changed, 0 insertions, 0 deletions