aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-06-16 13:40:18 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-02 10:29:24 -0700
commit9fcb9b3b8cf44cdfb2e6ac9b57252b960d7c22ac (patch)
tree5ae1b3964b12c422f0026e7d17f1ffb1ba245cf0 /usr
parente779a25d7285a229fc93751db47d80d4c2dd9045 (diff)
cifs: remove bogus first_time check in NTLMv2 session setup code
commit 8a224d489454b7457105848610cfebebdec5638d upstream. This bug appears to be the result of a cut-and-paste mistake from the NTLMv1 code. The function to generate the MAC key was commented out, but not the conditional above it. The conditional then ended up causing the session setup key not to be copied to the buffer unless this was the first session on the socket, and that made all but the first NTLMv2 session setup fail. Fix this by removing the conditional and all of the commented clutter that made it difficult to see. Reported-by: Gunther Deschner <gdeschne@redhat.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions