diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-06-19 22:35:44 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-07-05 21:30:16 +0200 |
commit | db644ad10a28469ec89e2f7935e9e115e15a8f47 (patch) | |
tree | 859528fc9d5f267d359e417465e9cb0bacf4c469 /source4 | |
parent | 452a2f8845097445aacb6ef3641a65b0aea6c789 (diff) | |
download | samba-db644ad10a28469ec89e2f7935e9e115e15a8f47.tar.gz |
s4:librpc/rpc: let dcerpc_ship_next_request() use DCERPC_AUTH_PAD_ALIGNMENT define
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11061
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit ef801bae95403e96042f5d8c87085bce21436013)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index be9a44c1c9e..3f8189d1069 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -1688,7 +1688,7 @@ static void dcerpc_ship_next_request(struct dcecli_connection *c) chunk_size -= sig_size; } } - chunk_size -= (chunk_size % 16); + chunk_size -= (chunk_size % DCERPC_AUTH_PAD_ALIGNMENT); pkt.ptype = DCERPC_PKT_REQUEST; pkt.call_id = req->call_id; |