mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
cryptnet/tests: Don't import shlwapi.
This commit is contained in:
parent
91bc6c5201
commit
0a28308b90
@ -1,5 +1,5 @@
|
||||
TESTDLL = cryptnet.dll
|
||||
IMPORTS = cryptnet crypt32 shlwapi
|
||||
IMPORTS = cryptnet crypt32
|
||||
|
||||
C_SRCS = \
|
||||
cryptnet.c
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <winbase.h>
|
||||
#include <winerror.h>
|
||||
#include <wincrypt.h>
|
||||
#include <shlwapi.h>
|
||||
#include "wine/test.h"
|
||||
|
||||
static const BYTE bigCert[] = {
|
||||
@ -324,7 +323,6 @@ static void test_retrieveObjectByUrl(void)
|
||||
HCERTSTORE store;
|
||||
CRYPT_RETRIEVE_AUX_INFO aux = { 0 };
|
||||
FILETIME ft = { 0 };
|
||||
DWORD urllen;
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = CryptRetrieveObjectByUrlA(NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL);
|
||||
@ -334,8 +332,7 @@ static void test_retrieveObjectByUrl(void)
|
||||
GetLastError(), GetLastError());
|
||||
|
||||
make_tmp_file(tmpfile);
|
||||
urllen = sizeof(url);
|
||||
UrlCanonicalizeA(tmpfile, url, &urllen, URL_WININET_COMPATIBILITY);
|
||||
snprintf(url, sizeof(url), "file://%s", tmpfile);
|
||||
|
||||
pBlobArray = (CRYPT_BLOB_ARRAY *)0xdeadbeef;
|
||||
ret = CryptRetrieveObjectByUrlA(url, NULL, 0, 0, (void **)&pBlobArray,
|
||||
|
Loading…
Reference in New Issue
Block a user