s4:librpc/rpc: don't ask for auth_length if we ask for auth data only
authorStefan Metzmacher <metze@samba.org>
Mon, 20 Jun 2016 14:16:23 +0000 (16:16 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Aug 2016 08:59:19 +0000 (10:59 +0200)
commitd950d0f6b50b93ef8b96490c7f353336c161f12d
tree27c3161cc2ae4cd56283f9bfe1b169b854d17576
parent7d7665355029bd8079e258623776708a70ec32e8
s4:librpc/rpc: don't ask for auth_length if we ask for auth data only

dcerpc_pull_auth_trailer() handles auth_length=NULL just fine.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11982

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e05c732c6074df2524403ad7bb30eade91443525)
source4/librpc/rpc/dcerpc.c