diff options
author | Günther Deschner <gd@samba.org> | 2009-09-11 02:56:00 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-11 03:00:43 +0200 |
commit | c4f6fb0b2d669e9f575f1f25a651d0b7982e7db1 (patch) | |
tree | dbac830f719b015787bba75e71392eccaa25ef1b /source3/rpc_parse | |
parent | d258fb4d0dcd04899dede7f17c8658251c9cd5e7 (diff) | |
download | samba-c4f6fb0b2d669e9f575f1f25a651d0b7982e7db1.tar.gz samba-c4f6fb0b2d669e9f575f1f25a651d0b7982e7db1.tar.bz2 samba-c4f6fb0b2d669e9f575f1f25a651d0b7982e7db1.zip |
s3-schannel: remove last schannel hand-marshalling function.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 31 |
1 files changed, 0 insertions, 31 deletions
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; -} |