Skip to content

Commit

Permalink
Fix Windows NTLM build
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Feb 20, 2015
1 parent 4817823 commit cf7fc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntlm.c
Expand Up @@ -127,7 +127,7 @@ static int ntlm_helper_challenge(struct openconnect_info *vpninfo,

void cleanup_ntlm_auth(struct openconnect_info *vpninfo)
{
if (vpninfo->auth[AUTH_TYPE_NTLM].state == NTLM_SSO_REQ) {
if (vpninfo->proxy_auth[AUTH_TYPE_NTLM].state == NTLM_SSO_REQ) {
FreeCredentialsHandle(&vpninfo->ntlm_sspi_cred);
DeleteSecurityContext(&vpninfo->ntlm_sspi_ctx);
}
Expand Down

0 comments on commit cf7fc10

Please sign in to comment.