Commit ff833ee2 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

wintrust/tests: Fix test crash on Win9x.

parent 5e66808a
......@@ -116,12 +116,6 @@ static void test_context(void)
CHAR windir[MAX_PATH], catroot[MAX_PATH], catroot2[MAX_PATH], dummydir[MAX_PATH];
DWORD attrs;
if (!pCryptCATAdminAcquireContext || !pCryptCATAdminReleaseContext)
{
skip("CryptCATAdminAcquireContext and/or CryptCATAdminReleaseContext are not available\n");
return;
}
/* When CryptCATAdminAcquireContext is successful it will create
* several directories if they don't exist:
*
......@@ -262,12 +256,6 @@ static void test_calchash(void)
CHAR temp[MAX_PATH];
DWORD written;
if (!pCryptCATAdminCalcHashFromFileHandle)
{
skip("CryptCATAdminCalcHashFromFileHandle is not available\n");
return;
}
/* All NULL */
SetLastError(0xdeadbeef);
ret = pCryptCATAdminCalcHashFromFileHandle(NULL, NULL, NULL, 0);
......@@ -438,6 +426,12 @@ START_TEST(crypt)
InitFunctionPtrs();
if (!pCryptCATAdminAcquireContext)
{
win_skip("CryptCATAdmin functions are not available\n");
return;
}
myARGC = winetest_get_mainargs(&myARGV);
strcpy(selfname, myARGV[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment