From c4f6fb0b2d669e9f575f1f25a651d0b7982e7db1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 11 Sep 2009 02:56:00 +0200 Subject: s3-schannel: remove last schannel hand-marshalling function. Guenther --- source3/rpc_parse/parse_rpc.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index 7b0592c20f..eb568b60a3 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -506,34 +506,3 @@ bool smb_io_rpc_hdr_auth(const char *desc, RPC_HDR_AUTH *rai, prs_struct *ps, in return True; } - -/******************************************************************* -reads or writes an RPC_AUTH_SCHANNEL_CHK structure. -********************************************************************/ - -bool smb_io_rpc_auth_schannel_chk(const char *desc, int auth_len, - RPC_AUTH_SCHANNEL_CHK * chk, - prs_struct *ps, int depth) -{ - if (chk == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_rpc_auth_schannel_chk"); - depth++; - - if ( !prs_uint8s(False, "sig ", ps, depth, chk->sig, sizeof(chk->sig)) ) - return False; - - if ( !prs_uint8s(False, "seq_num", ps, depth, chk->seq_num, sizeof(chk->seq_num)) ) - return False; - - if ( !prs_uint8s(False, "packet_digest", ps, depth, chk->packet_digest, sizeof(chk->packet_digest)) ) - return False; - - if ( auth_len == RPC_AUTH_SCHANNEL_SIGN_OR_SEAL_CHK_LEN ) { - if ( !prs_uint8s(False, "confounder", ps, depth, chk->confounder, sizeof(chk->confounder)) ) - return False; - } - - return True; -} -- cgit