s3-build: only include smb_signing.h where needed.
authorGünther Deschner <gd@samba.org>
Tue, 17 Aug 2010 13:03:58 +0000 (15:03 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 18 Aug 2010 07:20:13 +0000 (09:20 +0200)
Guenther

source3/include/includes.h
source3/libsmb/clientgen.c
source3/libsmb/clisigning.c
source3/libsmb/smb_signing.c
source3/param/loadparm.c
source3/smbd/signing.c

index 23ea30afcd3de502dbc535f7aa643f0a45a710e4..64b4a77fd2300840902cf72baeec06cf08c0d929 100644 (file)
@@ -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"
index 608288dbcf64f1fd71f594422ef981df6c6a8d1c..5c6c86d20881fe87313aa8056c4ec1d34535de15 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 #include "includes.h"
+#include "smb_signing.h"
 
 /*******************************************************************
  Setup the word count and byte count for a client smb message.
index 0d0e926e6ca3cf1adb5538f86e367000436bc9fe..1752edb023c10e5e0c6364b763bd9e13aa68be12 100644 (file)
@@ -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,
index d4b350f7a407e6c9fd893dba1ea1663caf2b9c20..c926b48e72504bf7c26ccd8ae73fe8d9a2c0dc82 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "../lib/crypto/md5.h"
+#include "smb_signing.h"
 
 /* Used by the SMB signing functions. */
 
index fa74470765dabf8abbaec7da0ae9ad21e06fd627..f02ef261df0f3d80b89c0ce9547253424f3ed809 100644 (file)
@@ -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
index 5370f578840028b1b589a0d8f66ca0ed9f60b513..ad7fa872adc3863ec7560bca337a743dc9ef1cc0 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "includes.h"
 #include "smbd/globals.h"
-
+#include "smb_signing.h"
 
 /***********************************************************
  Called to validate an incoming packet from the client.