Skip to content

Commit f23b571

Browse files
committed
Fix setting INTEG/CONF on ISC call.
When SEAL is negotiated we are supposed to se INTEG and CONF flags, but instead of using a | to set both a & was used ending up setting nothing. Fixes #56 Signed-off-by: Simo Sorce <[email protected]>
1 parent c0a0216 commit f23b571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/gss_sec_ctx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ uint32_t gssntlm_init_sec_context(uint32_t *minor_status,
398398
ctx->gss_flags |= GSS_C_INTEG_FLAG;
399399
}
400400
if (ctx->neg_flags & NTLMSSP_NEGOTIATE_SEAL) {
401-
ctx->gss_flags |= GSS_C_CONF_FLAG & GSS_C_INTEG_FLAG;
401+
ctx->gss_flags |= GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG;
402402
}
403403

404404
ctx->stage = NTLMSSP_STAGE_DONE;

0 commit comments

Comments
 (0)