mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:32:55 +00:00
[CRYPTNET_WINETEST] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
parent
f4663f8ef0
commit
2e19c82751
1 changed files with 2 additions and 2 deletions
|
@ -316,7 +316,7 @@ static void make_tmp_file(LPSTR path)
|
||||||
static void test_retrieveObjectByUrl(void)
|
static void test_retrieveObjectByUrl(void)
|
||||||
{
|
{
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
char tmpfile[MAX_PATH * 2], url[MAX_PATH + 8];
|
char tmpfile[MAX_PATH], url[MAX_PATH + 8];
|
||||||
CRYPT_BLOB_ARRAY *pBlobArray;
|
CRYPT_BLOB_ARRAY *pBlobArray;
|
||||||
PCCERT_CONTEXT cert;
|
PCCERT_CONTEXT cert;
|
||||||
PCCRL_CONTEXT crl;
|
PCCRL_CONTEXT crl;
|
||||||
|
@ -332,7 +332,7 @@ static void test_retrieveObjectByUrl(void)
|
||||||
GetLastError(), GetLastError());
|
GetLastError(), GetLastError());
|
||||||
|
|
||||||
make_tmp_file(tmpfile);
|
make_tmp_file(tmpfile);
|
||||||
snprintf(url, sizeof(url), "file://%s", tmpfile);
|
sprintf(url, "file://%s", tmpfile);
|
||||||
|
|
||||||
pBlobArray = (CRYPT_BLOB_ARRAY *)0xdeadbeef;
|
pBlobArray = (CRYPT_BLOB_ARRAY *)0xdeadbeef;
|
||||||
ret = CryptRetrieveObjectByUrlA(url, NULL, 0, 0, (void **)&pBlobArray,
|
ret = CryptRetrieveObjectByUrlA(url, NULL, 0, 0, (void **)&pBlobArray,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue