From 23c448b25004ef3b3a8e10cc3eb01bc13d66ca4e Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 13 Oct 1997 19:37:43 +0000 Subject: another alignment of client challenge: this one in lsa_io_q_auth_2(). there are going to be a few of these... (This used to be commit 3db1fe79c300f17d087c85c7e768a8d11c0f7661) --- source3/lsaparse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/lsaparse.c b/source3/lsaparse.c index 3c18f5b71d..aed110f1b4 100644 --- a/source3/lsaparse.c +++ b/source3/lsaparse.c @@ -287,7 +287,8 @@ char* lsa_io_q_auth_2(BOOL io, LSA_Q_AUTH_2 *q_a, char *q, char *base, int align q = align_offset(q, base, align); q = smb_io_log_info (io, &(q_a->clnt_id), q, base, align, depth); /* client identification info */ - q = smb_io_chal (io, &(q_a->clnt_chal), q, base, align, depth); /* client-calculated credentials */ + /* client challenge is _not_ aligned */ + q = smb_io_chal (io, &(q_a->clnt_chal), q, base, 0, depth); /* client-calculated credentials */ q = smb_io_neg_flags(io, &(q_a->clnt_flgs), q, base, align, depth); return q; -- cgit