librpc: use DATA_BLOB in CFDATA structure
[samba.git] / source4 / torture / ndr / cabinet.c
index 25fe373c842e667c7910c9c560dcc4516805d3c8..790f7c37f11977edd3317570f4cb6b71013b53ef 100644 (file)
@@ -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;
 }