Commit Graph

109 Commits

Author SHA1 Message Date
Johan Gill 16dc83578a advapi32: CryptCreateHash actually sets ERROR_INVALID_PARAMETER if the CSP handle is 0. 2012-02-14 17:59:29 +01:00
Francois Gouget ada3d57e83 advapi32: Fix printing NULL strings. 2011-09-20 16:21:38 +02:00
Nikolay Sivov 322049cebf advapi32/crypt: Fixed some HKEY leaks. 2011-08-04 09:08:07 +02:00
Michael Stefaniuc b856884c3b advapi32: Remove wrong "is NULL and error out" code (coccicheck). 2011-06-06 16:29:58 +02:00
Austin Lund c98e6c09ae advapi32: Add magic codes to HCRYPTKEY and HCRYPTHASH. 2010-08-18 09:47:27 +02:00
Alexandre Julliard 58a698882d advapi32: Make rpcrt4 a delayed import to work around circular dependencies with native. 2010-06-21 17:55:37 +02:00
Andrew Nguyen c62dd29b37 include: Add prototypes for RtlEncryptMemory and RtlDecryptMemory in ntsecapi.h. 2010-03-22 11:40:25 +01:00
Andrew Nguyen 890ce5360d advapi32: Fix SystemFunction036 prototype to match ntsecapi.h. 2010-03-22 11:40:22 +01:00
Alexandre Julliard a54bd70bac advapi32: Use strict prototypes in the VTableProvStruc definition. 2009-10-07 13:31:12 +02:00
Andrew Talbot 301cfd141b advapi32: Constify some variables. 2009-03-27 11:23:10 +01:00
Michael Stefaniuc 6a48bb4217 advapi32: Remove superfluous pointer casts. 2009-02-16 16:01:36 +01:00
Michael Stefaniuc e86eb8efa6 include: Change RPC_STATUS from long to LONG for Win64 compatibility.
Also fix the compiler warnings introduced by this change.
2009-01-04 13:34:38 +01:00
Juan Lang 59f2a3312e advapi32: Print error if opening /dev/urandom fails, and update comment. 2008-10-31 12:57:40 +01:00
Andrew Talbot 092a2b3efa advapi32: Avoid giving variables same name as library functions. 2008-05-05 19:46:15 +02:00
Lei Zhang 9fca0f27d0 advapi32: Replace UuidToStringW call with a sprintfW. 2008-04-29 12:34:29 +02:00
Juan Lang 9ea9eaaa81 advapi32: Create MachineGuid value if it doesn't exist. 2008-03-25 19:58:43 +01:00
Andrew Talbot 263cb72e13 advapi32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Christian Gmeiner bb3a968d30 advapi32: fix some compiler warnings when using -Wsign-compare. 2007-09-25 14:12:46 +02:00
Juan Lang a5bbed2b95 advapi32: Add more tests for CryptVerifySignatureW, and correct its parameter checking. 2007-08-23 12:37:55 +02:00
Francois Gouget a33993bcbd crypt32: Fix the CryptReleaseContext() prototype. 2007-07-31 21:37:09 +02:00
Mounir IDRASSI 5bb4ed2d66 advapi32: Check for error in CryptEnumProviderTypesA and CryptEnumProvidersA. 2007-05-03 14:36:43 +02:00
Lei Zhang d347ebe196 advapi32: Spelling fixes. 2007-04-07 11:01:17 +02:00
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