r13471: With more 'try all options' testing, I found this 'simple' but in the
authorAndrew Bartlett <abartlet@samba.org>
Sun, 12 Feb 2006 13:53:42 +0000 (13:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:54 +0000 (13:51 -0500)
NTLM2 signing code.

Andrew Bartlett

source/auth/ntlmssp/ntlmssp_sign.c

index de1720be4cdb85c8ef653fc2300a4cf7cb9baa00..8eea4fd8ae77e64503fa4bd94d3bec8fdaaa0d1a 100644 (file)
@@ -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;
                }