diff options
author | Günther Deschner <gd@samba.org> | 2009-09-11 02:21:33 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-11 02:57:35 +0200 |
commit | a155f3f9a92d57c2fa18ef44780e85e16cb32d1f (patch) | |
tree | d5bfcd29e16759d1bb114a96713f4d5a7076b728 /source3/rpc_parse | |
parent | 9ab5d9be8d5df7f5d894159d75f343913d9d8778 (diff) | |
download | samba-a155f3f9a92d57c2fa18ef44780e85e16cb32d1f.tar.gz samba-a155f3f9a92d57c2fa18ef44780e85e16cb32d1f.tar.bz2 samba-a155f3f9a92d57c2fa18ef44780e85e16cb32d1f.zip |
s3-schannel: remove unused code.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index 2e7216c3ca..7b0592c20f 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -508,69 +508,6 @@ bool smb_io_rpc_hdr_auth(const char *desc, RPC_HDR_AUTH *rai, prs_struct *ps, in } /******************************************************************* - Checks an RPC_AUTH_VERIFIER structure. -********************************************************************/ - -bool rpc_auth_verifier_chk(RPC_AUTH_VERIFIER *rav, - const char *signature, uint32 msg_type) -{ - return (strequal(rav->signature, signature) && rav->msg_type == msg_type); -} - -/******************************************************************* - Inits an RPC_AUTH_VERIFIER structure. -********************************************************************/ - -void init_rpc_auth_verifier(RPC_AUTH_VERIFIER *rav, - const char *signature, uint32 msg_type) -{ - fstrcpy(rav->signature, signature); /* "NTLMSSP" */ - rav->msg_type = msg_type; /* NTLMSSP_MESSAGE_TYPE */ -} - -/******************************************************************* - Reads or writes an RPC_AUTH_VERIFIER structure. -********************************************************************/ - -bool smb_io_rpc_auth_verifier(const char *desc, RPC_AUTH_VERIFIER *rav, prs_struct *ps, int depth) -{ - if (rav == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_rpc_auth_verifier"); - depth++; - - /* "NTLMSSP" */ - if(!prs_string("signature", ps, depth, rav->signature, - sizeof(rav->signature))) - return False; - if(!prs_uint32("msg_type ", ps, depth, &rav->msg_type)) /* NTLMSSP_MESSAGE_TYPE */ - return False; - - return True; -} - -/******************************************************************* - This parses an RPC_AUTH_VERIFIER for schannel. I think -********************************************************************/ - -bool smb_io_rpc_schannel_verifier(const char *desc, RPC_AUTH_VERIFIER *rav, prs_struct *ps, int depth) -{ - if (rav == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_rpc_schannel_verifier"); - depth++; - - if(!prs_string("signature", ps, depth, rav->signature, sizeof(rav->signature))) - return False; - if(!prs_uint32("msg_type ", ps, depth, &rav->msg_type)) - return False; - - return True; -} - -/******************************************************************* reads or writes an RPC_AUTH_SCHANNEL_CHK structure. ********************************************************************/ |