[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Wed Feb 27 10:01:02 UTC 2019
The branch, master has been updated
via eb13f70e374 libcli:auth: Remove unused header file
via 53fbd4b9a44 s4:torture: Remove unused header file
via 5854fcdbe9d s4:dsdb: Remove unused header file
via 79207884a33 libcli:samsync: Remove unused header file
via 5890eb77920 s4:dsdb: Only use the required md4 and md5 header files
via 195322b83e0 s4:dsdb: Only use the required md4 header file
via a1a005cb52e libcli:auth: Only use the required md4 header
via 75a5db9c949 libcli:auth: Only use the required md4 header
via b09f646832e krb5_wrap: Only use the required md4 header
via 0ee398e8b20 lib:crypto: Include only the required header files
from 0045a919b46 libcli:auth: Avoid explicit ZERO_STRUCT
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit eb13f70e3740a8e978fe4b90761438392b261485
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:00:05 2019 +0100
libcli:auth: Remove unused header file
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Volker Lendecke <vl at samba.org>
Autobuild-Date(master): Wed Feb 27 10:00:32 UTC 2019 on sn-devel-144
commit 53fbd4b9a4407297c69b34c828429b6524a2e1a2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:09:11 2019 +0100
s4:torture: Remove unused header file
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit 5854fcdbe9dc2877e289e9819451232be58be0e3
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:05:05 2019 +0100
s4:dsdb: Remove unused header file
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit 79207884a33e341de50f426af63f0ee4cba4b2c5
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:03:05 2019 +0100
libcli:samsync: Remove unused header file
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit 5890eb779202600ea69941d3e701440cf1e00be2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:07:37 2019 +0100
s4:dsdb: Only use the required md4 and md5 header files
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit 195322b83e00685502e09989d17bc5e6cbcd7801
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:06:21 2019 +0100
s4:dsdb: Only use the required md4 header file
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit a1a005cb52e6890d35f9bdb856d47bf01c8b752f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 08:02:24 2019 +0100
libcli:auth: Only use the required md4 header
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit 75a5db9c949aac026485733029f5217e312cde45
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 07:59:18 2019 +0100
libcli:auth: Only use the required md4 header
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit b09f646832e13ee00e907f64f5d2c9f55d3886e4
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 27 07:57:44 2019 +0100
krb5_wrap: Only use the required md4 header
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
commit 0ee398e8b2071f2373f216b3ca79131a4b7ebed4
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 26 18:30:22 2019 +0100
lib:crypto: Include only the required header files
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
-----------------------------------------------------------------------
Summary of changes:
lib/crypto/aes_ccm_128.c | 3 ++-
lib/crypto/aes_ccm_128_test.c | 5 +++--
lib/crypto/aes_cmac_128.c | 3 ++-
lib/crypto/aes_cmac_128_test.c | 3 ++-
lib/crypto/aes_gcm_128.c | 3 ++-
lib/crypto/aes_gcm_128_test.c | 5 +++--
lib/crypto/hmacmd5test.c | 2 +-
lib/crypto/hmacsha256.c | 3 ++-
lib/crypto/md4test.c | 2 +-
lib/crypto/md5test.c | 2 +-
lib/krb5_wrap/krb5_samba.c | 2 +-
libcli/auth/netlogon_creds_cli.c | 2 +-
libcli/auth/ntlm_check.c | 2 +-
libcli/auth/tests/ntlm_check.c | 1 -
libcli/samsync/decrypt.c | 1 -
source4/dsdb/common/util_trusts.c | 2 +-
source4/dsdb/repl/replicated_objects.c | 1 -
source4/dsdb/samdb/ldb_modules/password_hash.c | 3 ++-
source4/torture/rpc/wkssvc.c | 1 -
19 files changed, 25 insertions(+), 21 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/crypto/aes_ccm_128.c b/lib/crypto/aes_ccm_128.c
index a821e8d48a8..0cbc05567a8 100644
--- a/lib/crypto/aes_ccm_128.c
+++ b/lib/crypto/aes_ccm_128.c
@@ -18,7 +18,8 @@
*/
#include "replace.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/aes.h"
+#include "lib/crypto/aes_ccm_128.h"
#include "lib/util/byteorder.h"
#define M_ ((AES_CCM_128_M - 2) / 2)
diff --git a/lib/crypto/aes_ccm_128_test.c b/lib/crypto/aes_ccm_128_test.c
index 1a9fe411359..67745e3e1ae 100644
--- a/lib/crypto/aes_ccm_128_test.c
+++ b/lib/crypto/aes_ccm_128_test.c
@@ -18,8 +18,9 @@
*/
#include "replace.h"
#include "../lib/util/samba_util.h"
-#include "../lib/crypto/crypto.h"
-#include "../lib/crypto/aes_test.h"
+#include "lib/crypto/aes.h"
+#include "lib/crypto/aes_ccm_128.h"
+#include "lib/crypto/aes_test.h"
#ifndef AES_CCM_128_ONLY_TESTVECTORS
struct torture_context;
diff --git a/lib/crypto/aes_cmac_128.c b/lib/crypto/aes_cmac_128.c
index 5d71e82de0d..e5e489ec70d 100644
--- a/lib/crypto/aes_cmac_128.c
+++ b/lib/crypto/aes_cmac_128.c
@@ -19,7 +19,8 @@
*/
#include "replace.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/aes.h"
+#include "lib/crypto/aes_cmac_128.h"
static const uint8_t const_Zero[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/lib/crypto/aes_cmac_128_test.c b/lib/crypto/aes_cmac_128_test.c
index 86a2fd73d0a..22f6fd8fe8b 100644
--- a/lib/crypto/aes_cmac_128_test.c
+++ b/lib/crypto/aes_cmac_128_test.c
@@ -17,7 +17,8 @@
*/
#include "replace.h"
#include "../lib/util/samba_util.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/aes.h"
+#include "lib/crypto/aes_cmac_128.h"
struct torture_context;
bool torture_local_crypto_aes_cmac_128(struct torture_context *torture);
diff --git a/lib/crypto/aes_gcm_128.c b/lib/crypto/aes_gcm_128.c
index bfbf176e53d..6b5a385cbd8 100644
--- a/lib/crypto/aes_gcm_128.c
+++ b/lib/crypto/aes_gcm_128.c
@@ -18,7 +18,8 @@
*/
#include "replace.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/aes.h"
+#include "lib/crypto/aes_gcm_128.h"
#include "lib/util/byteorder.h"
static inline void aes_gcm_128_inc32(uint8_t inout[AES_BLOCK_SIZE])
diff --git a/lib/crypto/aes_gcm_128_test.c b/lib/crypto/aes_gcm_128_test.c
index 6d2cbf2aed8..fdd87ff532d 100644
--- a/lib/crypto/aes_gcm_128_test.c
+++ b/lib/crypto/aes_gcm_128_test.c
@@ -18,8 +18,9 @@
*/
#include "replace.h"
#include "../lib/util/samba_util.h"
-#include "../lib/crypto/crypto.h"
-#include "../lib/crypto/aes_test.h"
+#include "lib/crypto/aes.h"
+#include "lib/crypto/aes_gcm_128.h"
+#include "lib/crypto/aes_test.h"
#ifndef AES_GCM_128_ONLY_TESTVECTORS
struct torture_context;
diff --git a/lib/crypto/hmacmd5test.c b/lib/crypto/hmacmd5test.c
index 6db25269696..0e749dcaf22 100644
--- a/lib/crypto/hmacmd5test.c
+++ b/lib/crypto/hmacmd5test.c
@@ -18,7 +18,7 @@
*/
#include "replace.h"
#include "../lib/util/samba_util.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/hmacmd5.h"
struct torture_context;
bool torture_local_crypto_hmacmd5(struct torture_context *torture);
diff --git a/lib/crypto/hmacsha256.c b/lib/crypto/hmacsha256.c
index 36e321a0940..15a74ef6f5e 100644
--- a/lib/crypto/hmacsha256.c
+++ b/lib/crypto/hmacsha256.c
@@ -27,7 +27,8 @@
*/
#include "replace.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/sha256.h"
+#include "lib/crypto/hmacsha256.h"
/***********************************************************************
the rfc 2104/2202 version of hmac_sha256 initialisation.
diff --git a/lib/crypto/md4test.c b/lib/crypto/md4test.c
index dfdaef51b00..1899dcd2046 100644
--- a/lib/crypto/md4test.c
+++ b/lib/crypto/md4test.c
@@ -19,7 +19,7 @@
#include "replace.h"
#include "../lib/util/samba_util.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/md4.h"
struct torture_context;
bool torture_local_crypto_md4(struct torture_context *torture);
diff --git a/lib/crypto/md5test.c b/lib/crypto/md5test.c
index f58e131b02d..01e5cc0bfcd 100644
--- a/lib/crypto/md5test.c
+++ b/lib/crypto/md5test.c
@@ -19,7 +19,7 @@
#include "replace.h"
#include "../lib/util/samba_util.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/md5.h"
struct torture_context;
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index f0dc86b1859..344a26cdb6c 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -23,7 +23,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "krb5_samba.h"
-#include "lib/crypto/crypto.h"
+#include "lib/crypto/md4.h"
#include "../libds/common/flags.h"
#ifdef HAVE_COM_ERR_H
diff --git a/libcli/auth/netlogon_creds_cli.c b/libcli/auth/netlogon_creds_cli.c
index 817d2cd041a..dd286a281bf 100644
--- a/libcli/auth/netlogon_creds_cli.c
+++ b/libcli/auth/netlogon_creds_cli.c
@@ -37,7 +37,7 @@
#include "source3/include/messages.h"
#include "source3/include/g_lock.h"
#include "libds/common/roles.h"
-#include "lib/crypto/crypto.h"
+#include "lib/crypto/md4.h"
#include "auth/credentials/credentials.h"
struct netlogon_creds_cli_locked_state;
diff --git a/libcli/auth/ntlm_check.c b/libcli/auth/ntlm_check.c
index b68e9c87888..3844abde528 100644
--- a/libcli/auth/ntlm_check.c
+++ b/libcli/auth/ntlm_check.c
@@ -20,7 +20,7 @@
*/
#include "includes.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/md4.h"
#include "librpc/gen_ndr/netlogon.h"
#include "libcli/auth/libcli_auth.h"
diff --git a/libcli/auth/tests/ntlm_check.c b/libcli/auth/tests/ntlm_check.c
index 886a1a342f8..79b8ec9e28c 100644
--- a/libcli/auth/tests/ntlm_check.c
+++ b/libcli/auth/tests/ntlm_check.c
@@ -45,7 +45,6 @@
#include <cmocka.h>
#include "includes.h"
-#include "../lib/crypto/crypto.h"
#include "librpc/gen_ndr/netlogon.h"
#include "libcli/auth/libcli_auth.h"
#include "auth/credentials/credentials.h"
diff --git a/libcli/samsync/decrypt.c b/libcli/samsync/decrypt.c
index 66cc9158b67..f5ea4cc70fc 100644
--- a/libcli/samsync/decrypt.c
+++ b/libcli/samsync/decrypt.c
@@ -22,7 +22,6 @@
#include "includes.h"
-#include "../lib/crypto/crypto.h"
#include "../libcli/auth/libcli_auth.h"
#include "../libcli/samsync/samsync.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
diff --git a/source4/dsdb/common/util_trusts.c b/source4/dsdb/common/util_trusts.c
index 40777ec14ff..4fe20496ed8 100644
--- a/source4/dsdb/common/util_trusts.c
+++ b/source4/dsdb/common/util_trusts.c
@@ -32,7 +32,7 @@
#include "dsdb/common/util.h"
#include "libds/common/flag_mapping.h"
#include "../lib/util/dlinklist.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/md4.h"
#include "libcli/ldap/ldap_ndr.h"
NTSTATUS dsdb_trust_forest_info_from_lsa(TALLOC_CTX *mem_ctx,
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 372fb2d6928..5186a362947 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -26,7 +26,6 @@
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
-#include "../lib/crypto/crypto.h"
#include "../libcli/drsuapi/drsuapi.h"
#include "libcli/auth/libcli_auth.h"
#include "param/param.h"
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index 51fd70b7c1d..804be6a4307 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -42,7 +42,8 @@
#include "dsdb/samdb/ldb_modules/util.h"
#include "dsdb/samdb/ldb_modules/password_modules.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
-#include "../lib/crypto/crypto.h"
+#include "lib/crypto/md4.h"
+#include "lib/crypto/md5.h"
#include "param/param.h"
#include "lib/krb5_wrap/krb5_samba.h"
#include "auth/common_auth.h"
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c
index 0dff6036507..c98ac92b39b 100644
--- a/source4/torture/rpc/wkssvc.c
+++ b/source4/torture/rpc/wkssvc.c
@@ -25,7 +25,6 @@
#include "torture/rpc/torture_rpc.h"
#include "lib/cmdline/popt_common.h"
#include "param/param.h"
-#include "../lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
#define SMBTORTURE_MACHINE_NAME "smbtrt_name"
--
Samba Shared Repository
More information about the samba-cvs
mailing list