summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-06 12:27:32 -0400
committerSimo Sorce <simo@redhat.com>2014-08-06 15:44:52 -0400
commitc95bde9468c33222d9cd7655689dacfd32de956f (patch)
treee1c27c443a4db145da872ed905a3ed992317b093
parentbf15dd42184fa5daa0911b4a4030727a8e691027 (diff)
downloadgss-ntlmssp-c95bde9468c33222d9cd7655689dacfd32de956f.tar.gz
gss-ntlmssp-c95bde9468c33222d9cd7655689dacfd32de956f.tar.xz
gss-ntlmssp-c95bde9468c33222d9cd7655689dacfd32de956f.zip
Fix flag clearing
NTLMSSP_REQUEST_NON_NT_SESSION_KEY is not in itself incompatble with NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY, although it is only used is Extended Security is not Negotiated.
-rw-r--r--src/gss_sec_ctx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gss_sec_ctx.c b/src/gss_sec_ctx.c
index 70464d2..84093e5 100644
--- a/src/gss_sec_ctx.c
+++ b/src/gss_sec_ctx.c
@@ -935,7 +935,6 @@ uint32_t gssntlm_accept_sec_context(uint32_t *minor_status,
}
if (ctx->neg_flags & NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY) {
- ctx->neg_flags &= ~NTLMSSP_REQUEST_NON_NT_SESSION_KEY;
ctx->neg_flags &= ~NTLMSSP_NEGOTIATE_LM_KEY;
}