mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
some cleanup while working on the NETLOGON pipe.
smb_io_chal() did a prs_align() but a challenge is an array of bytes. and all code calling smb_io_chal() played with the alignment to not align ! I'm confident in my change, but I would *really* like if jeremy could look at that. J.F.
This commit is contained in:
@@ -1255,9 +1255,6 @@ BOOL smb_io_chal(char *desc, DOM_CHAL *chal, prs_struct *ps, int depth)
|
||||
|
||||
prs_debug(ps, depth, desc, "smb_io_chal");
|
||||
depth++;
|
||||
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if(!prs_uint8s (False, "data", ps, depth, chal->data, 8))
|
||||
return False;
|
||||
|
||||
Reference in New Issue
Block a user