Commit 936bec69 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

wintrust/tests: Don't crash on NT4 and W2K.

parent ff833ee2
......@@ -352,6 +352,13 @@ static void test_CryptCATAdminAddRemoveCatalog(void)
DWORD error, written;
BOOL ret;
if (!pCryptCATAdminRemoveCatalog)
{
/* NT4 and W2K do have CryptCATAdminAddCatalog !! */
win_skip("CryptCATAdminRemoveCatalog is not available\n");
return;
}
if (!GetTempFileNameA(CURR_DIR, "cat", 0, tmpfile)) return;
DeleteFileA(tmpfile);
file = CreateFileA(tmpfile, GENERIC_WRITE, 0, NULL, CREATE_NEW, 0, NULL);
......
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