crypt32/tests: Avoid size_t in traces.
This commit is contained in:
parent
2113050e75
commit
4f83f9a120
|
@ -235,7 +235,7 @@ static void test_simpleroundtrip(const char *plaintext)
|
||||||
|
|
||||||
res = pCryptUnprotectData(&encrypted, NULL, NULL, NULL, NULL, 0, &output);
|
res = pCryptUnprotectData(&encrypted, NULL, NULL, NULL, NULL, 0, &output);
|
||||||
ok(res != 0, "can't unprotect; last error %u\n", GetLastError());
|
ok(res != 0, "can't unprotect; last error %u\n", GetLastError());
|
||||||
ok(output.cbData == strlen(plaintext), "output wrong length %d for input '%s', wanted %d\n", output.cbData, plaintext, strlen(plaintext));
|
ok(output.cbData == strlen(plaintext), "output wrong length %d for input '%s', wanted %d\n", output.cbData, plaintext, lstrlenA(plaintext));
|
||||||
ok(!memcmp(plaintext, (char *)output.pbData, output.cbData), "output wrong contents for input '%s'\n", plaintext);
|
ok(!memcmp(plaintext, (char *)output.pbData, output.cbData), "output wrong contents for input '%s'\n", plaintext);
|
||||||
LocalFree(output.pbData);
|
LocalFree(output.pbData);
|
||||||
LocalFree(encrypted.pbData);
|
LocalFree(encrypted.pbData);
|
||||||
|
|
Loading…
Reference in New Issue