diff options
author | Yang Tse <yangsita@gmail.com> | 2009-01-30 02:35:40 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-01-30 02:35:40 +0000 |
commit | 99b4912688117c444810931396bf855ae9af7c8e (patch) | |
tree | 3db4c8bc33a7eb69b40529e66a7983c82803868a /lib | |
parent | 0a6312d66fe7dfcc096fcc5de0e065add6941ad4 (diff) |
ensure that we use the ANSI version functions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_ntlm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index d89cd0e0d..759647238 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -606,7 +606,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, ntlm->p_identity = NULL; } - if(s_pSecFn->AcquireCredentialsHandle( + if(s_pSecFn->AcquireCredentialsHandleA( NULL, (char *)"NTLM", SECPKG_CRED_OUTBOUND, NULL, ntlm->p_identity, NULL, NULL, &ntlm->handle, &tsDummy ) != SEC_E_OK) { @@ -620,7 +620,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, buf.BufferType = SECBUFFER_TOKEN; buf.pvBuffer = ntlmbuf; - status = s_pSecFn->InitializeSecurityContext(&ntlm->handle, NULL, + status = s_pSecFn->InitializeSecurityContextA(&ntlm->handle, NULL, (char *) host, ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | @@ -776,7 +776,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, type_3.pvBuffer = ntlmbuf; type_3.cbBuffer = sizeof(ntlmbuf); - status = s_pSecFn->InitializeSecurityContext(&ntlm->handle, &ntlm->c_handle, + status = s_pSecFn->InitializeSecurityContextA(&ntlm->handle, &ntlm->c_handle, (char *) host, ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | |