cryptnet/tests: Don't import shlwapi.

This commit is contained in:
Alexandre Julliard 2010-11-25 12:01:43 +01:00
parent 91bc6c5201
commit 0a28308b90
2 changed files with 2 additions and 5 deletions

View file

@ -1,5 +1,5 @@
TESTDLL = cryptnet.dll
IMPORTS = cryptnet crypt32 shlwapi
IMPORTS = cryptnet crypt32
C_SRCS = \
cryptnet.c

View file

@ -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,