rsaenh: Fix a testfailure which occures on some Win7 setups.

oldstable
André Hentschel 2010-04-30 18:09:15 +02:00 committed by Alexandre Julliard
parent 2d08c88fd2
commit d89c5a3f4c
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ static int init_base_environment(DWORD dwKeyFlags)
if (!CryptAcquireContext(&hProv, szContainer, szProvider, PROV_RSA_FULL, 0))
{
ok(GetLastError()==NTE_BAD_KEYSET ||
broken(GetLastError() == NTE_TEMPORARY_PROFILE /* some Win7 setups */) ||
broken(GetLastError() == NTE_KEYSET_NOT_DEF /* Win9x/NT4 */),
"%08x\n", GetLastError());
if (GetLastError()!=NTE_BAD_KEYSET)