Loading lib/http_ntlm.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -606,7 +606,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, ntlm->p_identity = NULL; ntlm->p_identity = NULL; } } if(s_pSecFn->AcquireCredentialsHandle( if(s_pSecFn->AcquireCredentialsHandleA( NULL, (char *)"NTLM", SECPKG_CRED_OUTBOUND, NULL, ntlm->p_identity, NULL, (char *)"NTLM", SECPKG_CRED_OUTBOUND, NULL, ntlm->p_identity, NULL, NULL, &ntlm->handle, &tsDummy NULL, NULL, &ntlm->handle, &tsDummy ) != SEC_E_OK) { ) != SEC_E_OK) { Loading @@ -620,7 +620,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, buf.BufferType = SECBUFFER_TOKEN; buf.BufferType = SECBUFFER_TOKEN; buf.pvBuffer = ntlmbuf; buf.pvBuffer = ntlmbuf; status = s_pSecFn->InitializeSecurityContext(&ntlm->handle, NULL, status = s_pSecFn->InitializeSecurityContextA(&ntlm->handle, NULL, (char *) host, (char *) host, ISC_REQ_CONFIDENTIALITY | ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | ISC_REQ_REPLAY_DETECT | Loading Loading @@ -776,7 +776,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, type_3.pvBuffer = ntlmbuf; type_3.pvBuffer = ntlmbuf; type_3.cbBuffer = sizeof(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, (char *) host, ISC_REQ_CONFIDENTIALITY | ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | ISC_REQ_REPLAY_DETECT | Loading Loading
lib/http_ntlm.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -606,7 +606,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, ntlm->p_identity = NULL; ntlm->p_identity = NULL; } } if(s_pSecFn->AcquireCredentialsHandle( if(s_pSecFn->AcquireCredentialsHandleA( NULL, (char *)"NTLM", SECPKG_CRED_OUTBOUND, NULL, ntlm->p_identity, NULL, (char *)"NTLM", SECPKG_CRED_OUTBOUND, NULL, ntlm->p_identity, NULL, NULL, &ntlm->handle, &tsDummy NULL, NULL, &ntlm->handle, &tsDummy ) != SEC_E_OK) { ) != SEC_E_OK) { Loading @@ -620,7 +620,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, buf.BufferType = SECBUFFER_TOKEN; buf.BufferType = SECBUFFER_TOKEN; buf.pvBuffer = ntlmbuf; buf.pvBuffer = ntlmbuf; status = s_pSecFn->InitializeSecurityContext(&ntlm->handle, NULL, status = s_pSecFn->InitializeSecurityContextA(&ntlm->handle, NULL, (char *) host, (char *) host, ISC_REQ_CONFIDENTIALITY | ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | ISC_REQ_REPLAY_DETECT | Loading Loading @@ -776,7 +776,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, type_3.pvBuffer = ntlmbuf; type_3.pvBuffer = ntlmbuf; type_3.cbBuffer = sizeof(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, (char *) host, ISC_REQ_CONFIDENTIALITY | ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | ISC_REQ_REPLAY_DETECT | Loading