Commit Graph

254 Commits

Author SHA1 Message Date
James Hawkins a26b7e30b1 If pszTypeName is too small to hold the type name in
CryptEnumProviderTypes, return ERROR_MORE_DATA.
2004-08-17 22:08:16 +00:00
Mike McCormack 945364754e Remove unnecessary casts in crypt tests. 2004-08-17 22:07:59 +00:00
Mike McCormack 93eeaa417d Implemented Get/SetFileSecurity A->W. 2004-08-16 23:18:23 +00:00
James Hawkins 25a6a0e08a Fix alloc test in CryptEnumProviderTypesW that failed if the alloc
succeeded.
2004-08-16 21:10:38 +00:00
James Hawkins ddad3152a1 Fixed a few crypt test bugs. 2004-08-16 21:10:18 +00:00
Mike McCormack 985646f07a Declaration, implemention and test for BuildTrusteeWithSid. 2004-08-16 21:07:50 +00:00
Mike McCormack d73c03a8b0 Add some stub declarations. 2004-08-16 19:58:24 +00:00
Mike McCormack 55257303d7 Move declaration of LSA* structs to ntsecapi.h. 2004-08-16 19:47:21 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Mike McCormack edf55ec7d9 Implement SetThreadToken using NtSetInformationThread. 2004-08-13 23:20:27 +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
James Hawkins e1f5370f42 Cleanup A->W cross call in CryptEnumProviders. 2004-08-12 03:24:10 +00:00
Mike McCormack f8167f01bc Implement A->W call for SetNamedSecurityInfo. 2004-08-09 22:55:47 +00:00
James Hawkins 8cc77c1805 Make CryptEnumProvidersA pcbProvName parameter contain the correct
size of the provider name on return.
2004-08-09 22:53:58 +00:00
Mike McCormack d161a8f64e Fix definition of LookupPrivilegeNameW and declare it. 2004-08-09 19:46:15 +00:00
James Hawkins 62851fdb52 Fix alloc failure check in CryptEnumProvidersW. 2004-08-09 18:51:48 +00:00
Mike McCormack e00a0ea330 Added a test for ConvertSidToStringSidW. 2004-08-09 18:47:22 +00:00
Mike McCormack be303074d6 Implemented ConvertSidToStringSidA/W. 2004-08-09 18:47:06 +00:00
Mike McCormack 2d86d17f2f Implement A->W call for GetNamedSecurityInfo. 2004-08-06 17:31:17 +00:00
Alexandre Julliard c09881d51c Fixed some more freeing issues in CryptAcquireContextA. 2004-08-02 18:49:26 +00:00
Michael Jung 4ce6ee1b31 Fixed a potential double call to CRYPT_Free on variable "temp". 2004-07-30 00:07:35 +00:00
Alexandre Julliard bba76fca45 Don't crash on NULL data in RegSetValueExA (reported by Mike Hearn and
Andreas Mohr).
Removed a couple of unnecessary version checks.
2004-07-24 02:32:50 +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
Alexandre Julliard 01bb813156 Fixed some duplicate CRYPT_Free calls (spotted by Michael Jung). 2004-07-16 19:19:00 +00:00
Michael Jung 4651067f43 Use RegQueryValueExA instead of RegQueryValueA in
CryptEnumProviderTypes.
2004-07-15 18:59:34 +00:00
Michael Jung 81e6f0c15c Reference counting for CRYPTPROV objects.
Implemented CryptContextAddRef.
2004-07-13 23:34:13 +00:00
James Hawkins 6a358c4090 Added and cleaned API docs. 2004-07-13 23:33:14 +00:00
James Hawkins 250c7c08bb Added some more API docs. 2004-07-12 23:32:10 +00:00
Ge van Geldorp 606cc0acb6 Add missing privilege names. 2004-07-07 00:47:50 +00:00
William Lahti d5a31871cd Implemented AreAnyAccessesGranted. 2004-05-25 00:22:42 +00:00
Juan Lang 56b5164686 - If a crypto provider does not have a Signature in the registry,
check for the presence of the SigInFile value before failing.
- Get rid of a couple redundant assignments.
2004-05-17 19:48:00 +00:00
Mike McCormack 0effd76987 Pass crypt provider and type to CPAcquireContext. 2004-05-12 23:29:44 +00:00
Alexandre Julliard 6ddfba14e2 Fixed buffer size handling in GetUserNameA (reported by Hannu
Valtonen).
2004-05-10 21:26:58 +00:00
Alexandre Julliard c4effa39e6 Use the Unix codepage to convert the user name to Unicode. 2004-05-07 04:01:28 +00:00
Francois Gouget 0345908a27 Assorted spelling fixes. 2004-04-28 00:24:44 +00:00
Jon Griffiths 50ce0844ba Documentation fixes. 2004-04-23 21:32:34 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Mike Hearn 481a67e887 Documentation for SystemFunction040 and SystemFunction041 has become
available, so stub them out in case applications use them.
2004-04-17 00:23:50 +00:00
Alexandre Julliard bea945eed9 OpenServiceW: don't use the requested service access rights for the
registry key access rights, they are not the same thing.
2004-04-12 22:18:39 +00:00
Alexandre Julliard c420138d99 OpenSCManagerA/W arguments are strings. 2004-04-12 22:11:24 +00:00
Raphael Junqueira 8c16d405e0 Added some stubs. 2004-04-07 19:00:30 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Juan Lang 4161a8b474 Stub CommandLineFromMsiDescriptor to prevent a crash in Accelerys
Materials Studio.
2004-03-22 21:31:26 +00:00
Juan Lang ae176d1629 Allow RegConnectRegistryW to the local machine name. 2004-03-18 01:34:23 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Robert Shearman 8447121451 - Remove duplicate free.
- Remove debug message that dumps invalid string.
2004-02-27 04:41:06 +00:00