https://bugs.winehq.org/show_bug.cgi?id=39235
Bug ID: 39235 Summary: wintrust:crypt fails on Windows 2000 if privileges not high enough Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The following failures only happen if the test is run in a restricted user account.
crypt.c:207: Test failed: Expected success, got FALSE with 4313 crypt.c:208: Test failed: Expected a context handle, got NULL crypt.c:220: Test failed: Expected success, got FALSE with 87 crypt.c:247: Test failed: CryptCATAdminAcquireContext failed 4313 crypt.c:253: Test failed: Expected a context handle, got NULL crypt.c:262: Test failed: Expected CatRoot{DEADBEEF-DEAD-BEEF-DEAD-BEEFDEADBEEF} directory to exist crypt.c:277: Test failed: Expected success, got FALSE with 87 crypt.c:281: Test failed: Expected success, got FALSE with 4313 crypt.c:282: Test failed: Expected a context handle, got NULL crypt.c:285: Test failed: Expected success, got FALSE with 87 crypt.c:291: Test failed: Expected FALSE and ERROR_INVALID_PARAMETER with untouched handle, got 0 and 4313 with 00000000
In particular one can notice this bug on the following WineTest box: fg-win2000-rusr: Windows 2000 with a Restricted user account
Note however that it succeeds in non-Restricted user accounts on the following boxes for instance: fg-win2000-susr: Windows 2000 with a Standard (Power) user account. fg-winxp-lusr: Windows XP with a Limited user account. fg-win7u64-1spie9usr: Windows 7 with a regular user account.
See: https://test.winehq.org/data/tests/wintrust:crypt.html
https://bugs.winehq.org/show_bug.cgi?id=39235
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=39235
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This test succeeded in a limited user account on Windows XP so the issue was probably specific to Windows 2000. But Windows 2000 is no longer part of the Windows versions that we expect the Wine tests to succeed on.
So this bug can be closed.
https://bugs.winehq.org/show_bug.cgi?id=39235
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.