mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
secur32/tests: Skip some tests on WinMe to avoid a crash.
This commit is contained in:
parent
da07b0d585
commit
7b3213fd65
@ -210,8 +210,15 @@ static void testAcquireSecurityContext(void)
|
||||
certs[1] = pCertCreateCertificateContext(X509_ASN_ENCODING, selfSignedCert,
|
||||
sizeof(selfSignedCert));
|
||||
|
||||
pCryptAcquireContextW(&csp, cspNameW, MS_DEF_PROV_W, PROV_RSA_FULL,
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = pCryptAcquireContextW(&csp, cspNameW, MS_DEF_PROV_W, PROV_RSA_FULL,
|
||||
CRYPT_DELETEKEYSET);
|
||||
if (!ret && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
|
||||
{
|
||||
/* WinMe would crash on some tests */
|
||||
win_skip("CryptAcquireContextW is not implemented\n");
|
||||
return;
|
||||
}
|
||||
|
||||
st = pAcquireCredentialsHandleA(NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL,
|
||||
NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user