s3-schannel: remove last schannel hand-marshalling function.
authorGünther Deschner <gd@samba.org>
Fri, 11 Sep 2009 00:56:00 +0000 (02:56 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 11 Sep 2009 01:00:43 +0000 (03:00 +0200)
Guenther

source3/include/proto.h
source3/rpc_parse/parse_rpc.c

index c51d4ee728e34b7c7bd34617a07c1c0068028771..865abbf9109ace4eee3d1916bfeb5d3eef99fedf 100644 (file)
@@ -5728,9 +5728,6 @@ void init_rpc_hdr_auth(RPC_HDR_AUTH *rai,
                                uint8 auth_pad_len,
                                uint32 auth_context_id);
 bool smb_io_rpc_hdr_auth(const char *desc, RPC_HDR_AUTH *rai, prs_struct *ps, int depth);
-bool smb_io_rpc_auth_schannel_chk(const char *desc, int auth_len, 
-                                RPC_AUTH_SCHANNEL_CHK * chk,
-                               prs_struct *ps, int depth);
 
 /* The following definitions come from lib/eventlog/eventlog.c  */
 
index 7b0592c20f7a1009a358f06511c9886dbcd4e7ff..eb568b60a34a49d18da37082c355b22d091d2e25 100644 (file)
@@ -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;
-}