From e340aa40d19cb03d9c9b5d6e64ac073aeee4b759 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 9 Jul 2010 18:23:49 -0400 Subject: dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/proto.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 302999ffbc..1b8aa485d5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2936,6 +2936,12 @@ NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code); void dcerpc_set_frag_length(DATA_BLOB *blob, uint16_t v); uint16_t dcerpc_get_frag_length(const DATA_BLOB *blob); void dcerpc_set_auth_length(DATA_BLOB *blob, uint16_t v); +NTSTATUS dcerpc_pull_auth_trailer(struct ncacn_packet *pkt, + TALLOC_CTX *mem_ctx, + DATA_BLOB *pkt_auth_blob, + struct dcerpc_auth *auth, + uint32_t *auth_length, + bool check_pad); /* The following definitions come from libsmb/dsgetdcname.c */ -- cgit