cryptnet: Skip failing tests no matter what the last error is, but only on Windows.
This commit is contained in:
parent
3b7c62f80b
commit
bc2fa00789
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue