wininet: If we receive an error from InitializeSecurityContext in HTTP_DoAuthorization then set pAuthInfo->finished so that we don't carry on using the security context.
This commit is contained in:
parent
e74514b138
commit
db5745c001
|
@ -599,6 +599,7 @@ static BOOL HTTP_DoAuthorization( LPWININETHTTPREQW lpwhr, LPCWSTR pszAuthValue,
|
|||
else
|
||||
{
|
||||
ERR("InitializeSecurityContextW returned error 0x%08x\n", sec_status);
|
||||
pAuthInfo->finished = TRUE;
|
||||
HeapFree(GetProcessHeap(), 0, out.pvBuffer);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue