cifs: Use data structures to compute NTLMv2 response offsets
authorTim Gardner <tim.gardner@canonical.com>
Thu, 7 Nov 2013 23:40:57 +0000 (16:40 -0700)
committerSteve French <smfrench@gmail.com>
Mon, 11 Nov 2013 22:58:11 +0000 (16:58 -0600)
commit2c957ddf30897787e39462ac56cdc4bf21eb0465
tree5f968d8209f1a3546439a9ca5e46ee877a83df21
parentdca692880e887739a669f6c41a80ca68ce2b09fc
cifs: Use data structures to compute NTLMv2 response offsets

A bit of cleanup plus some gratuitous variable renaming. I think using
structures instead of numeric offsets makes this code much more
understandable.

Also added a comment about current time range expected by
the server.

Acked-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Shirish Pargaonkar <spargaonkar@suse.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsencrypt.c
fs/cifs/cifspdu.h