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;
|
pBlobArray = (CRYPT_BLOB_ARRAY *)0xdeadbeef;
|
||||||
ret = CryptRetrieveObjectByUrlA(url, NULL, 0, 0, (void **)&pBlobArray,
|
ret = CryptRetrieveObjectByUrlA(url, NULL, 0, 0, (void **)&pBlobArray,
|
||||||
NULL, NULL, NULL, NULL);
|
NULL, NULL, NULL, NULL);
|
||||||
if (!ret && GetLastError() == ERROR_NOT_SUPPORTED)
|
if (!ret)
|
||||||
{
|
{
|
||||||
/* File URL support was apparently removed in Vista/Windows 2008 */
|
/* File URL support was apparently removed in Vista/Windows 2008 */
|
||||||
skip("File URLs not supported\n");
|
win_skip("File URLs not supported\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ok(ret, "CryptRetrieveObjectByUrlA failed: %d\n", GetLastError());
|
ok(ret, "CryptRetrieveObjectByUrlA failed: %d\n", GetLastError());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user