From d825a2add6c6b80a7cf516d726d27ab2be2c90e8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 19 Oct 2011 17:37:29 +0200 Subject: s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104 --- source3/lib/util.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index f29568fca0..df82733bc1 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -183,19 +183,6 @@ void show_msg(const char *buf) dump_data(10, (const uint8 *)smb_buf_const(buf), bcc); } -/******************************************************************* - Set the length and marker of an encrypted smb packet. -********************************************************************/ - -void smb_set_enclen(char *buf,int len,uint16 enc_ctx_num) -{ - _smb_setlen(buf,len); - - SCVAL(buf,4,0xFF); - SCVAL(buf,5,'E'); - SSVAL(buf,6,enc_ctx_num); -} - /******************************************************************* Set the length and marker of an smb packet. ********************************************************************/ -- cgit