diff options
author | Aurelien Aptel <aaptel@suse.com> | 2017-05-23 15:31:44 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-07-19 21:22:13 +0200 |
commit | 466d5e814727046dd630d5503b43874ec46a365e (patch) | |
tree | 70c921330edd18de2a5dedba7499973c4741a564 /source4/torture/ndr | |
parent | 1edf126693b8bafe5f94a6ab4d34e0d21a05cb3d (diff) | |
download | samba-466d5e814727046dd630d5503b43874ec46a365e.tar.gz |
librpc: use DATA_BLOB in CFDATA structure
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r-- | source4/torture/ndr/cabinet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/ndr/cabinet.c b/source4/torture/ndr/cabinet.c index 25fe373c842..790f7c37f11 100644 --- a/source4/torture/ndr/cabinet.c +++ b/source4/torture/ndr/cabinet.c @@ -4171,7 +4171,7 @@ static bool cab_file_plain_check(struct torture_context *tctx, blob = data_blob(NULL, r->cfdata[0].cbUncomp); memset(blob.data, 'A', blob.length); - torture_assert_mem_equal(tctx, r->cfdata[0].ab, blob.data, blob.length, "ab"); + torture_assert_data_blob_equal(tctx, r->cfdata[0].ab, blob, "ab"); return true; } @@ -4235,7 +4235,7 @@ static bool cab_file_MSZIP_check(struct torture_context *tctx, memset(blob.data, 'A', blob.length); #if 0 /* once we have MSZIP compression working we can enable this test */ - torture_assert_data_blob_equal(tctx, r->cfdata[0].mszip_data.ab, blob, "ab"); + torture_assert_data_blob_equal(tctx, r->cfdata[0].ab, blob, "ab"); #endif return true; } @@ -4304,7 +4304,7 @@ static bool cab_file_LZX_check(struct torture_context *tctx, memset(blob.data, 'A', blob.length); #if 0 /* once we have LZX compression support we can enable this test */ - torture_assert_data_blob_equal(tctx, r->cfdata[0].mszip_data.ab, blob, "ab"); + torture_assert_data_blob_equal(tctx, r->cfdata[0].ab, blob, "ab"); #endif return true; } |