else
ntlm->p_identity = NULL;
- status = s_pSecFn->AcquireCredentialsHandle(NULL, TEXT("NTLM"),
+ status = s_pSecFn->AcquireCredentialsHandle(NULL,
+ (SECURITY_PSTR) TEXT("NTLM"),
SECPKG_CRED_OUTBOUND, NULL,
ntlm->p_identity, NULL, NULL,
&ntlm->handle, &tsDummy);
buf.pvBuffer = ntlmbuf;
status = s_pSecFn->InitializeSecurityContext(&ntlm->handle, NULL,
- TEXT(""),
+ (SECURITY_PSTR) TEXT(""),
ISC_REQ_CONFIDENTIALITY |
ISC_REQ_REPLAY_DETECT |
ISC_REQ_CONNECTION,
status = s_pSecFn->InitializeSecurityContext(&ntlm->handle,
&ntlm->c_handle,
- TEXT(""),
+ (SECURITY_PSTR) TEXT(""),
ISC_REQ_CONFIDENTIALITY |
ISC_REQ_REPLAY_DETECT |
ISC_REQ_CONNECTION,
if(!neg_ctx->output_token) {
PSecPkgInfo SecurityPackage;
- ret = s_pSecFn->QuerySecurityPackageInfo(TEXT("Negotiate"),
+ ret = s_pSecFn->QuerySecurityPackageInfo((SECURITY_PSTR) TEXT("Negotiate"),
&SecurityPackage);
if(ret != SEC_E_OK)
return -1;
return -1;
neg_ctx->status =
- s_pSecFn->AcquireCredentialsHandle(NULL, TEXT("Negotiate"),
+ s_pSecFn->AcquireCredentialsHandle(NULL,
+ (SECURITY_PSTR) TEXT("Negotiate"),
SECPKG_CRED_OUTBOUND, NULL, NULL,
NULL, NULL, neg_ctx->credentials,
&lifetime);
cred_handle.dwUpper = 0;
status = s_pSecFn->AcquireCredentialsHandle(NULL,
- TEXT("Kerberos"),
+ (SECURITY_PSTR) TEXT("Kerberos"),
SECPKG_CRED_OUTBOUND,
NULL,
NULL,