diff options
author | Jean-François Micouleau <jfm@samba.org> | 2002-08-23 05:12:06 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2002-08-23 05:12:06 +0000 |
commit | 8462dbb933ec66f5756ee3a76152c32bacf746a4 (patch) | |
tree | 363b61e748f91fd7562badb6b03190c99dd07205 /source3/rpc_parse/parse_misc.c | |
parent | 6232468dcaadca90c1106c12a557c83b1dca0fc4 (diff) | |
download | samba-8462dbb933ec66f5756ee3a76152c32bacf746a4.tar.gz samba-8462dbb933ec66f5756ee3a76152c32bacf746a4.tar.bz2 samba-8462dbb933ec66f5756ee3a76152c32bacf746a4.zip |
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 used to be commit 23501ea971f8cc0799515e0d51ad8619221a31e1)
Diffstat (limited to 'source3/rpc_parse/parse_misc.c')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 01d7698173..3dd9c3bc2a 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -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; |