summaryrefslogtreecommitdiff
path: root/source4/auth/ntlmssp
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-02-12 13:53:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:54 -0500
commite9e80966411d4b7f45e5e6322a6932751fae2996 (patch)
treec85c858e72320981b03beaec632d70d60ba80312 /source4/auth/ntlmssp
parente218c8442db38bcfcac9e9425e8d0e32f61c840f (diff)
downloadsamba-e9e80966411d4b7f45e5e6322a6932751fae2996.tar.gz
samba-e9e80966411d4b7f45e5e6322a6932751fae2996.tar.bz2
samba-e9e80966411d4b7f45e5e6322a6932751fae2996.zip
r13471: With more 'try all options' testing, I found this 'simple' but in the
NTLM2 signing code. Andrew Bartlett (This used to be commit 16e5c968756c40b8595503da47a1adb9cb09c447)
Diffstat (limited to 'source4/auth/ntlmssp')
-rw-r--r--source4/auth/ntlmssp/ntlmssp_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_sign.c b/source4/auth/ntlmssp/ntlmssp_sign.c
index de1720be4c..8eea4fd8ae 100644
--- a/source4/auth/ntlmssp/ntlmssp_sign.c
+++ b/source4/auth/ntlmssp/ntlmssp_sign.c
@@ -365,7 +365,7 @@ NTSTATUS ntlmssp_sign_init(struct gensec_ntlmssp_state *gensec_ntlmssp_state)
if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_128) {
} else if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_56) {
- weak_session_key.length = 6;
+ weak_session_key.length = 7;
} else { /* forty bits */
weak_session_key.length = 5;
}