summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-30 01:26:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:24 -0500
commit63b4975391d97439c37f97dd59ca9138774cea61 (patch)
tree34453847065f620010fc12f43dbf4394203c0a3a /source4
parent1685238339d61f5b0dfef9edc9d754fcd0947922 (diff)
downloadsamba-63b4975391d97439c37f97dd59ca9138774cea61.tar.gz
samba-63b4975391d97439c37f97dd59ca9138774cea61.tar.bz2
samba-63b4975391d97439c37f97dd59ca9138774cea61.zip
r2098: The first 8 bytes of this sig is not used in the 'is it correct' calculation.
Andrew Bartlett (This used to be commit 16ef31a79ed959e80904b84b0230cadb1a7dd8d1)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/auth/ntlmssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/auth/ntlmssp.c b/source4/torture/auth/ntlmssp.c
index 02b7ad80b2..57b337693f 100644
--- a/source4/torture/auth/ntlmssp.c
+++ b/source4/torture/auth/ntlmssp.c
@@ -95,7 +95,7 @@ BOOL torture_ntlmssp_self_check(int dummy)
return False;
}
- if (memcmp(sig.data, expected_sig.data, sig.length)) {
+ if (memcmp(sig.data+8, expected_sig.data+8, sig.length-8)) {
return False;
}