[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Wed Jun 16 10:59:05 MDT 2010
The branch, master has been updated
via aa76e82... lib/crypto: only include what is needed.
from 65ca3e4... pidl-waf: Avoid relying on MakeMaker when installing pidl manpages.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit aa76e8263d5aaa12a19b1c351ac8ec8f0e7a9002
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 15 12:01:09 2010 +0200
lib/crypto: only include what is needed.
Guenther
-----------------------------------------------------------------------
Summary of changes:
lib/crypto/arcfour.c | 2 +-
lib/crypto/arcfour.h | 2 ++
lib/crypto/crc32.c | 2 +-
lib/crypto/hmacmd5.c | 2 +-
lib/crypto/hmacmd5test.c | 3 ++-
lib/crypto/hmacsha256.c | 2 +-
lib/crypto/md4.c | 2 +-
lib/crypto/md4test.c | 3 ++-
lib/crypto/md5.c | 2 +-
lib/crypto/md5test.c | 3 ++-
lib/crypto/sha256.c | 2 +-
11 files changed, 15 insertions(+), 10 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/crypto/arcfour.c b/lib/crypto/arcfour.c
index c57e05d..1afd659 100644
--- a/lib/crypto/arcfour.c
+++ b/lib/crypto/arcfour.c
@@ -19,7 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
+#include "replace.h"
#include "../lib/crypto/arcfour.h"
/* initialise the arcfour sbox with key */
diff --git a/lib/crypto/arcfour.h b/lib/crypto/arcfour.h
index 501b3f2..a9f80c4 100644
--- a/lib/crypto/arcfour.h
+++ b/lib/crypto/arcfour.h
@@ -1,6 +1,8 @@
#ifndef ARCFOUR_HEADER_H
#define ARCFOUR_HEADER_H
+#include "../lib/util/data_blob.h"
+
struct arcfour_state {
uint8_t sbox[256];
uint8_t index_i;
diff --git a/lib/crypto/crc32.c b/lib/crypto/crc32.c
index e6cc529..cca62a0 100644
--- a/lib/crypto/crc32.c
+++ b/lib/crypto/crc32.c
@@ -40,7 +40,7 @@
* CRC32 code derived from work by Gary S. Brown.
*/
-#include "includes.h"
+#include "replace.h"
#include "../lib/crypto/crc32.h"
static const uint32_t crc32_tab[] = {
diff --git a/lib/crypto/hmacmd5.c b/lib/crypto/hmacmd5.c
index 0c8d1ab..cfbd428 100644
--- a/lib/crypto/hmacmd5.c
+++ b/lib/crypto/hmacmd5.c
@@ -22,7 +22,7 @@
* for ntlmv2.
*/
-#include "includes.h"
+#include "replace.h"
#include "../lib/crypto/hmacmd5.h"
/***********************************************************************
diff --git a/lib/crypto/hmacmd5test.c b/lib/crypto/hmacmd5test.c
index 77f305a..a6621a6 100644
--- a/lib/crypto/hmacmd5test.c
+++ b/lib/crypto/hmacmd5test.c
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
+#include "replace.h"
+#include "../lib/util/util.h"
#include "../lib/crypto/crypto.h"
struct torture_context;
diff --git a/lib/crypto/hmacsha256.c b/lib/crypto/hmacsha256.c
index 53d4fe3..1a31441 100644
--- a/lib/crypto/hmacsha256.c
+++ b/lib/crypto/hmacsha256.c
@@ -26,7 +26,7 @@
taken direct from rfc2202 implementation and modified for suitable use
*/
-#include "includes.h"
+#include "replace.h"
#include "../lib/crypto/crypto.h"
/***********************************************************************
diff --git a/lib/crypto/md4.c b/lib/crypto/md4.c
index aea2c82..7eb6070 100644
--- a/lib/crypto/md4.c
+++ b/lib/crypto/md4.c
@@ -17,7 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
+#include "replace.h"
#include "../lib/crypto/md4.h"
/* NOTE: This code makes no attempt to be fast!
diff --git a/lib/crypto/md4test.c b/lib/crypto/md4test.c
index a6080cf..e406c69 100644
--- a/lib/crypto/md4test.c
+++ b/lib/crypto/md4test.c
@@ -17,7 +17,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
+#include "replace.h"
+#include "../lib/util/util.h"
#include "../lib/crypto/crypto.h"
struct torture_context;
diff --git a/lib/crypto/md5.c b/lib/crypto/md5.c
index 566aaca..e6178cc 100644
--- a/lib/crypto/md5.c
+++ b/lib/crypto/md5.c
@@ -18,7 +18,7 @@
/* This code slightly modified to fit into Samba by
abartlet at samba.org Jun 2001 */
-#include "includes.h"
+#include "replace.h"
#include "md5.h"
diff --git a/lib/crypto/md5test.c b/lib/crypto/md5test.c
index 7223af2..0457d4d 100644
--- a/lib/crypto/md5test.c
+++ b/lib/crypto/md5test.c
@@ -17,7 +17,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
+#include "replace.h"
+#include "../lib/util/util.h"
#include "../lib/crypto/crypto.h"
struct torture_context;
diff --git a/lib/crypto/sha256.c b/lib/crypto/sha256.c
index 233abe2..42ab236 100644
--- a/lib/crypto/sha256.c
+++ b/lib/crypto/sha256.c
@@ -38,7 +38,7 @@
* SUCH DAMAGE.
*/
-#include "includes.h"
+#include "replace.h"
#include "sha256.h"
#define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z)))
--
Samba Shared Repository
More information about the samba-cvs
mailing list