summaryrefslogtreecommitdiff
path: root/source3/utils/ntlm_auth_diagnostics.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-14 12:16:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:01 -0500
commitb4a7b7a8889737e2891fc1176feabd4ce47f2737 (patch)
tree6694c445bf83ead4e74cddcaf967a64491b57b4a /source3/utils/ntlm_auth_diagnostics.c
parentddf25a79f6a47fc3627f0dfdb74f47c0dffb7ff0 (diff)
downloadsamba-b4a7b7a8889737e2891fc1176feabd4ce47f2737.tar.gz
samba-b4a7b7a8889737e2891fc1176feabd4ce47f2737.tar.bz2
samba-b4a7b7a8889737e2891fc1176feabd4ce47f2737.zip
r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; and
replace all data_blob(NULL, 0) calls. (This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
Diffstat (limited to 'source3/utils/ntlm_auth_diagnostics.c')
-rw-r--r--source3/utils/ntlm_auth_diagnostics.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/utils/ntlm_auth_diagnostics.c b/source3/utils/ntlm_auth_diagnostics.c
index 0ebe77b0d1..a4e0d6b1ba 100644
--- a/source3/utils/ntlm_auth_diagnostics.c
+++ b/source3/utils/ntlm_auth_diagnostics.c
@@ -314,9 +314,9 @@ static BOOL test_lmv2_ntlmv2_broken(enum ntlm_break break_which)
BOOL pass = True;
NTSTATUS nt_status;
uint32 flags = 0;
- DATA_BLOB ntlmv2_response = data_blob(NULL, 0);
- DATA_BLOB lmv2_response = data_blob(NULL, 0);
- DATA_BLOB ntlmv2_session_key = data_blob(NULL, 0);
+ DATA_BLOB ntlmv2_response = data_blob_null;
+ DATA_BLOB lmv2_response = data_blob_null;
+ DATA_BLOB ntlmv2_session_key = data_blob_null;
DATA_BLOB names_blob = NTLMv2_generate_names_blob(get_winbind_netbios_name(), get_winbind_domain());
uchar user_session_key[16];
@@ -442,8 +442,8 @@ static BOOL test_plaintext(enum ntlm_break break_which)
{
NTSTATUS nt_status;
uint32 flags = 0;
- DATA_BLOB nt_response = data_blob(NULL, 0);
- DATA_BLOB lm_response = data_blob(NULL, 0);
+ DATA_BLOB nt_response = data_blob_null;
+ DATA_BLOB lm_response = data_blob_null;
char *password;
smb_ucs2_t *nt_response_ucs2;