Commit Graph

87 Commits

Author SHA1 Message Date
Andrew Talbot 201317ed5e advapi32: Constify a variable. 2007-03-05 12:08:58 +01:00
Bang Jun-Young 671b023de8 advapi32: Fix prototypes to match the PSDK. 2007-02-05 12:25:48 +01:00
Francois Gouget f46cfe601c advapi32: Remove a useless macro. 2007-01-05 20:27:13 +01:00
James Hawkins 024237efaa advapi32: Remove redundant NULL checks before CRYPT_Free. 2006-11-30 12:27:03 +01:00
Hans Leidekker 4301816d47 advapi32: Win64 printf format warning fixes. 2006-10-03 16:21:58 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Andrew Talbot 9959d7e37f advapi32: Cast-qual warnings fix. 2006-08-26 19:16:19 +02:00
Juan Lang 2a6dda1cb4 advapi: Add a stub for SystemFunction035. 2006-06-23 10:46:28 +02:00
Alexandre Julliard 7bbc1d68c5 advapi32: Make some variables static and/or const. 2006-06-12 13:41:15 +02:00
Mike McCormack 3244a3dfc6 advapi32: Fix comment to match the function (thanks to Dan Kegel). 2006-06-05 21:01:47 +02:00
Mike McCormack 546b84c0c5 advapi32: Implement and test SystemFunction030. 2006-06-05 13:50:48 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Markus Amsler ec350525e3 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
2005-11-12 19:12:03 +00:00
Markus Amsler d45811ce2a Improve c2man Documented-Total count. 2005-11-04 11:43:27 +00:00
Vincent Béron bd6f176df9 Remove some Unicode->ANSI cross-calls in crypt functions. 2005-09-28 11:59:04 +00:00
Vincent Béron e9cac26182 Change some TRACEing formats to make more sense. 2005-08-15 09:44:34 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Juan Lang 8c9b330cce Add/correct a couple definitions, allow hashing nothing. 2005-07-18 09:07:57 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Francois Gouget f9280a3a95 Protect the unistd.h and sys/stat.h includes.
Include config.h.
Fixes warnings reported by winapi_check.
2005-06-17 20:56:02 +00:00
Uwe Bonnes 7f99aa834f Implemented SystemFunction036. 2005-05-23 12:08:00 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +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 46d2be988a Removed the incomplete signature checking code. 2005-03-30 18:56:41 +00:00
Michael Jung a3b97e051a Respect the sDescription parameter in CryptSignHash and
CryptVerifySignature.
2004-12-21 14:34:18 +00:00
Michael Jung e9cb2e6d5f ixed calculation of buffer size in CRYPT_ANSIToUnicode and
CRYPT_UnicodeToANSI.
2004-12-20 18:52:41 +00:00
Jon Griffiths 873cd009d0 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-15 10:54:44 +00:00
James Hawkins 7f34c04067 Cleanup some documentation. 2004-12-14 15:26:04 +00:00
James Hawkins 88aeb475c0 Fixed a few memory leaks. 2004-11-30 17:33:27 +00:00
Michael Jung 6b12414fc8 CryptGetUserKey: Set return key handle to zero in case of failure. 2004-11-01 21:07:24 +00:00
Michael Jung 2f2f3a1d13 CryptCreateHash: Set returned hash handle to zero in case of failure. 2004-10-27 21:15:10 +00:00
Michael Jung 162171e258 Fixed a typo in CryptExportKey. 2004-10-18 19:35:24 +00:00
Michael Jung 09a81f8c3f CryptDeriveKey - set return key handle to NULL in case of failure. 2004-10-11 19:52:54 +00:00
Mike McCormack 8ea4fffb98 Make sure not to interfere with the lasterror value returned by the
CSP in CryptAcquireContextA.
2004-09-14 17:43:41 +00:00
James Hawkins 1c251e9a69 Make CryptSetProviderEx only delete the 'Name' value and not delete
the entire 'Type XXX' key when deleting the default provider.
2004-08-30 23:57:18 +00:00
James Hawkins 1a6fa44658 Enable ERROR_MORE_DATA to be set in CryptGetDefaultProvider. 2004-08-20 19:25:35 +00:00
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
James Hawkins 25a6a0e08a Fix alloc test in CryptEnumProviderTypesW that failed if the alloc
succeeded.
2004-08-16 21:10:38 +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 e1f5370f42 Cleanup A->W cross call in CryptEnumProviders. 2004-08-12 03:24:10 +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
James Hawkins 62851fdb52 Fix alloc failure check in CryptEnumProvidersW. 2004-08-09 18:51:48 +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
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
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