Commit Graph

48 Commits

Author SHA1 Message Date
Francois Gouget e3b00de35f advapi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:46 +01:00
James Hawkins a072f85b9f advapi32: Skip tests if the default provider cannot be removed. 2009-01-26 16:07:56 +01:00
Michael Stefaniuc 2fc7b81009 advapi32/tests: Remove superfluous pointer casts. 2009-01-13 15:26:00 +01:00
Nicolas Le Cam ae0bddeb85 advapi32/tests: Run a test on more platforms. 2008-11-07 11:27:23 +01:00
Nicolas Le Cam f714cf4bd1 advapi32/tests: test_enum_provider_types test cleanup. 2008-11-07 11:25:15 +01:00
Michael Stefaniuc dfb8e7cba3 advapi32/tests: Use 0 instead of casting NULL to a handle of integer type. 2008-10-27 11:28:06 +01:00
Francois Gouget 705de5d391 advapi32/tests: Remove a stray reference to CryptReleaseContext(). This gets the test to run again on Win95. 2008-05-22 11:43:09 +02:00
James Hawkins 9f859b4519 advapi32: Remove a test that fails on some systems. 2008-04-21 12:12:13 +02:00
Juan Lang 9ea9eaaa81 advapi32: Create MachineGuid value if it doesn't exist. 2008-03-25 19:58:43 +01:00
Juan Lang 4c984e089a advapi32: Test the MachineGuid value. 2008-03-25 19:58:37 +01:00
Juan Lang 3138f87e73 advapi32: Fix CryptVerifySignatureW test failures on Win98SE and NT4. 2008-02-16 13:51:37 +01:00
Paul Vriens e2de4b18e5 advapi32/tests: CryptVerifySignatureW is not implemented on win98. 2008-02-15 09:54:23 +01:00
Paul Vriens 56d085ccec advapi32/tests: Only use functions if they are implemented. 2008-02-12 22:40:15 +01:00
Juan Lang a5bbed2b95 advapi32: Add more tests for CryptVerifySignatureW, and correct its parameter checking. 2007-08-23 12:37:55 +02:00
Paul Vriens 02e160179f advapi32/tests: Use skip when we don't have enough rights. 2007-07-30 23:37:58 +02:00
Paul Vriens cf111099fc advapi32/tests: Use skip instead of trace. 2007-07-13 14:43:29 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Hans Leidekker 53535d6e13 advapi32/tests: Win64 printf format warning fixes. 2006-10-04 20:56:14 +02:00
Alexandre Julliard 290ddd8e38 advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:56:18 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Saulius Krasuckas 5cd099290c Win98 fails another way when user isn't logged in. 2005-11-08 19:57:41 +00:00
Vincent Béron bd6f176df9 Remove some Unicode->ANSI cross-calls in crypt functions. 2005-09-28 11:59:04 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack 6b44c2a56c Fix some warnings. 2005-06-09 09:48:36 +00:00
Stefan Leichter 21be2f734e Excluded tests crashing on NT4 from compiling. 2005-04-23 19:05:03 +00:00
Jakob Eriksson 7fb79e34a0 Win98 can return ERROR_CALL_NOT_IMPLEMENTED. 2005-04-15 16:12:14 +00:00
Michael Jung 44cb0906da Make crypt functions more robust in case of incorrect api usage. 2005-04-11 12:55:36 +00:00
Michael Jung 976bdc4faa Added a test for advapi32, which documents a crash in wine triggered
by incorrect api usage.
2005-03-29 11:32:13 +00:00
Jakob Eriksson 21a0c3b4fc CryptAcquireContextA() can return NTE_FAIL on Windows 98. 2005-03-15 19:32:38 +00:00
Jakob Eriksson e2dab32daa Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND. 2005-02-23 12:44:15 +00:00
Jakob Eriksson e026ef742e Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND. 2005-02-17 11:50:36 +00:00
Stefan Leichter 68e1208f59 Make advapi32_test.exe loadable on NT 3.51. 2005-02-14 11:06:16 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Jakob Eriksson 6239fc72de On NT4 we can also get ERROR_RING2_STACK_IN_USE from
CryptAcquireContext().
2005-01-04 20:31:53 +00:00
Stefan Leichter 2d136f0de9 Fix missing imports on NT4. 2004-12-06 20:38:24 +00:00
James Hawkins e3ba250034 Only call test_set_provider_ex() once. 2004-12-06 11:34:40 +00:00
James Hawkins 88aeb475c0 Fixed a few memory leaks. 2004-11-30 17:33:27 +00:00
Dmitry Timoshkov f2dca03dec Make advapi32/crypt.c test pass under win2k SP4, do stricter error
checking, comment out a couple of tests failing under win2k, add a
note why RSA_CPAcquireContext may fail.
2004-10-05 02:09:36 +00:00
James Hawkins 19f2669c24 - remove unnecessary type conversions
- added tests for crypt
2004-09-01 22:46:29 +00:00
James Hawkins e02eb90509 Added tests for CryptSetProviderEx. 2004-08-20 19:25:03 +00:00
Mike McCormack 945364754e Remove unnecessary casts in crypt tests. 2004-08-17 22:07:59 +00:00
James Hawkins ddad3152a1 Fixed a few crypt test bugs. 2004-08-16 21:10:18 +00:00
James Hawkins 7aa82c80d4 If the pszProvName param of CryptEnumProviders is too small to hold
the provider name, SetLastError to ERROR_MORE_DATA.
2004-08-13 19:45:40 +00:00
James Hawkins e672d8b6b4 Added tests for CryptEnumProviders. 2004-08-12 03:24:20 +00:00
Michael Jung 74ed099347 - Changed some FIXMEs to TRACEs, since they report on a problem in the
way the client uses the dll rather than in the dll itself.
- Cover the case, when the pszProvider parameter points to an empty
  string.
- Fixed some imprecisions in error reporting.
- Removed the "wine_todo's" arround the corresponding unit-tests.
2004-07-24 02:27:15 +00:00
Michael Jung 7439680542 - Fixed a problem with dwProvType values greater than 99 in
CRYPT_GetTypeKeyName.
- Fixed error reporting in the case of dwProvType == 0.
- Removed "todo_wine" from the corresponding unit test.
2004-07-22 19:43:03 +00:00
Michael Jung ccf487fc4d Added some unit tests for the CryptAcquireContext API function. 2004-07-21 19:37:29 +00:00