Commit bc2fa007 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

cryptnet: Skip failing tests no matter what the last error is, but only on Windows.

parent 3b7c62f8
......@@ -285,10 +285,10 @@ static void test_retrieveObjectByUrl(void)
pBlobArray = (CRYPT_BLOB_ARRAY *)0xdeadbeef;
ret = CryptRetrieveObjectByUrlA(url, NULL, 0, 0, (void **)&pBlobArray,
NULL, NULL, NULL, NULL);
if (!ret && GetLastError() == ERROR_NOT_SUPPORTED)
if (!ret)
{
/* File URL support was apparently removed in Vista/Windows 2008 */
skip("File URLs not supported\n");
win_skip("File URLs not supported\n");
return;
}
ok(ret, "CryptRetrieveObjectByUrlA failed: %d\n", GetLastError());
......
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