From cd921db764df9578733c85c29e8c6c368f4c7e78 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 3 May 2021 12:23:31 -0500 Subject: Enforce payload and container verification. --- src/burn/test/BurnUnitTest/CacheTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/burn/test/BurnUnitTest/CacheTest.cpp') diff --git a/src/burn/test/BurnUnitTest/CacheTest.cpp b/src/burn/test/BurnUnitTest/CacheTest.cpp index d0cc237f..e9ad555b 100644 --- a/src/burn/test/BurnUnitTest/CacheTest.cpp +++ b/src/burn/test/BurnUnitTest/CacheTest.cpp @@ -71,6 +71,8 @@ namespace Bootstrapper payload.sczFilePath = L"CacheSignatureTest.File"; payload.pbHash = pb; payload.cbHash = cb; + payload.qwFileSize = 27; + payload.verification = BURN_PAYLOAD_VERIFICATION_HASH; hr = CacheCompletePayload(package.fPerMachine, &payload, package.sczCacheId, sczPayloadPath, FALSE, CacheTestEventRoutine, CacheTestProgressRoutine, &context); Assert::Equal(S_OK, hr); -- cgit v1.2.3-55-g6feb