From 63b4975391d97439c37f97dd59ca9138774cea61 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Aug 2004 01:26:28 +0000 Subject: 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) --- source4/torture/auth/ntlmssp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') 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; } -- cgit