summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-17 15:03:58 +0200
committerGünther Deschner <gd@samba.org>2010-08-18 09:20:13 +0200
commit59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c (patch)
treea8dd6c4390973c9fb9b92c2de4309deff4ca67ec
parent5a2f6c970027aacf8505d0971b44907900959f6d (diff)
downloadsamba-59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c.tar.gz
samba-59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c.tar.bz2
samba-59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c.zip
s3-build: only include smb_signing.h where needed.
Guenther
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/libsmb/clientgen.c1
-rw-r--r--source3/libsmb/clisigning.c1
-rw-r--r--source3/libsmb/smb_signing.c1
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/smbd/signing.c2
6 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 23ea30afcd..64b4a77fd2 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -639,7 +639,6 @@ extern void *cmdline_lp_ctx;
#include "messages.h"
#include "locking.h"
#include "smb_perfcount.h"
-#include "smb_signing.h"
#include "smb.h"
#include "nameserv.h"
#include "../lib/util/byteorder.h"
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 608288dbcf..5c6c86d208 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "smb_signing.h"
/*******************************************************************
Setup the word count and byte count for a client smb message.
diff --git a/source3/libsmb/clisigning.c b/source3/libsmb/clisigning.c
index 0d0e926e6c..1752edb023 100644
--- a/source3/libsmb/clisigning.c
+++ b/source3/libsmb/clisigning.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "smb_signing.h"
bool cli_simple_set_signing(struct cli_state *cli,
const DATA_BLOB user_session_key,
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c
index d4b350f7a4..c926b48e72 100644
--- a/source3/libsmb/smb_signing.c
+++ b/source3/libsmb/smb_signing.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "../lib/crypto/md5.h"
+#include "smb_signing.h"
/* Used by the SMB signing functions. */
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index fa74470765..f02ef261df 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -60,6 +60,8 @@
#include "ads.h"
#include "../librpc/gen_ndr/svcctl.h"
+#include "smb_signing.h"
+
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
#endif
diff --git a/source3/smbd/signing.c b/source3/smbd/signing.c
index 5370f57884..ad7fa872ad 100644
--- a/source3/smbd/signing.c
+++ b/source3/smbd/signing.c
@@ -21,7 +21,7 @@
#include "includes.h"
#include "smbd/globals.h"
-
+#include "smb_signing.h"
/***********************************************************
Called to validate an incoming packet from the client.