Commit graph

67 commits

Author SHA1 Message Date
Alexandre Julliard
4120fb994a crypt32: Use wide-character string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 11:44:12 +01:00
Alexandre Julliard
03bf236961 crypt32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 11:41:21 +01:00
Piotr Caban
57a8c4dbe8 crypt32: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 20:27:39 +02:00
Michael Stefaniuc
3e8720ae5a crypt32: Remove an unused return variable (coccinelle).
returnvar.cocci from the Linux kernel.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 20:20:14 +01:00
Dmitry Timoshkov
3b1e55d093 crypt32: CryptFreeOIDFunctionAddress should not unload a registered module.
MSDN states that hModule passed to CryptInstallOIDFunctionAddress() should be
used to prevent this module to be unloaded by CryptFreeOIDFunctionAddress in
case the provider's DLL uses CryptRegisterOIDFunction to add its own entries.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:17:36 +01:00
Dmitry Timoshkov
81b0a38c47 crypt32: Trace entry contents in CryptInstallOIDFunctionAddress.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-26 21:18:27 +02:00
Dmitry Timoshkov
94c19040a1 crypt32: Read OID information from the registry.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 13:37:21 +02:00
Dmitry Timoshkov
061033ed02 crypt32: Implement CryptRegisterOIDInfo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 13:37:21 +02:00
Dmitry Timoshkov
0b89c5a264 crypt32: Implement CryptUnregisterOIDInfo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 13:37:21 +02:00
Michael Müller
224e3f43e9 crypt32: Add oids for sha256ECDSA and sha384ECDSA.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 17:13:02 +02:00
Nikolay Sivov
6de2e83e00 crypt32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:23:06 +02:00
Jacek Caban
86c998e551 crypt32: Added support for szOID_NIST_sha* OIDs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 09:06:33 +01:00
Dmitry Timoshkov
ba1b572da2 crypt32: Add support for decoding serial number property in the certificate attributes. 2013-12-12 12:27:29 +01:00
Andrew Talbot
8300fd5aa8 crypt32: Remove unused variables. 2012-11-20 11:44:53 +01:00
Michael Stefaniuc
2793be9c6d crypt32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:49:49 +02:00
Francois Gouget
069f9f8e60 crypt32: Remove some strings that don't need to be translated from the resources. 2012-01-18 16:43:43 +01:00
Francois Gouget
10faa9997e crypt32: Delete the oid and sip static critical sections when unloading the dll. 2011-11-16 17:02:52 +01:00
Francois Gouget
9b3bda2b5d crypt32: Move a couple of functions to avoid forward declarations. 2011-11-15 19:37:35 +01:00
Francois Gouget
6efd90510b crypt32: Fix printing NULL strings. 2011-09-20 16:21:38 +02:00
Frédéric Delanoy
f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Juan Lang
a729e10a18 crypt32: Add constants to support SHA-256, SHA-384, and SHA-512. 2010-03-16 11:29:48 +01:00
Michael Stefaniuc
0a866d0e45 crypt32: Avoid using HIWORD() on a string pointer.
The stray IS_INTRESOURCE() is applied to a true resource. The other
strings are OIDs and not resources.
2010-01-29 14:59:02 +01:00
Juan Lang
f2040b7725 crypt32: Don't copy past end of buffer when removing a string from a multi string. 2009-11-30 12:57:39 +01:00
Juan Lang
88e599c4cf crypt32: Don't copy past end of buffer when removing the last string in a multistring. 2009-11-05 11:57:41 +01:00
Aurimas Fišeras
958899393d crypt32: Add "Disallowed" to CryptFindLocalizedName. 2009-07-06 14:35:26 +02:00
Anders Jonsson
d9972cb4b4 crypt32: Add CryptRegisterOIDInfo stub. 2009-06-24 15:17:25 +02:00
Michael Stefaniuc
2b6c4c0be6 crypt32: Replace long with a better type. 2009-06-03 11:35:07 +02:00
Michael Stefaniuc
903585162d crypt32: Remove remaining superfluous pointer casts. 2009-01-28 12:30:54 +01:00
Juan Lang
7e3881909d crypt32: Add a localized name for the TrustedPublisher store. 2009-01-21 11:41:56 +01:00
Juan Lang
ab81dc123e crypt32: Make a global copy of crypt32's HINSTANCE. 2008-11-07 10:59:03 +01:00
Andrew Talbot
610dbbdae5 crypt32: Sign-compare warnings fix. 2008-09-24 12:52:46 +02:00
Andrew Talbot
d3afff856e crypt32: Remove unused variables. 2008-04-15 15:32:20 +02:00
Christopher Berner
9978cc9c56 user32: Make LoadStringW pass tests. 2008-03-11 15:30:15 +01:00
Alexander Nicolaysen Sørnes
a3a165fcdb crypt32: Implement CryptFindLocalizedName. 2008-01-08 13:55:18 +01:00
Juan Lang
b85492e851 crypt32: Free memory on an error path. 2007-10-19 14:22:28 +02:00
Juan Lang
63e1ac4eac crypt32: Always return an empty list on failure from CryptGetDefaultOIDDllList. 2007-10-18 13:18:33 +02:00
Juan Lang
46ead27165 crypt32: Don't abort early if encoding type is 0 for CryptRegisterOIDFunction/CryptUnregisterOIDFunction. 2007-10-18 13:18:25 +02:00
Juan Lang
0f29b48fa0 crypt32: Don't crash logging numeric function names. 2007-10-18 13:18:19 +02:00
Juan Lang
c7915134b0 crypt32: Implement CryptGetDefaultOIDFunctionAddress. 2007-10-18 13:18:13 +02:00
Juan Lang
6b390b4009 crypt32: Use a structure to hold function address handle. 2007-10-18 13:18:03 +02:00
Bang Jun-young
6ab44c8073 crypt32: Fix typo in CryptGetDefaultOIDFunctionAddress(). 2007-10-16 09:37:27 +02:00
Juan Lang
8778b9f506 crypt32: Correct loading OID functions from the registry. 2007-08-10 12:58:17 +02:00
Juan Lang
82a31d09a1 crypt32: Statically initialize static lists and critical sections. 2007-05-25 19:36:19 +02:00
Mounir IDRASSI
e7c2e05f0f crypt32: Stub implementation of CryptFindLocalizedName. 2007-05-14 14:26:57 +02:00
Jan Zerebecki
e8956eb48b crypt32: Add DebugInfo to critical sections. 2007-03-12 13:37:57 +01:00
Francois Gouget
b2656633a6 Add some documentation headers to make winapi_check happy. 2006-11-13 13:01:15 +01:00
Andrew Talbot
b6c325bfc0 crypt32: Cast-qual warnings fix. 2006-10-27 14:26:40 +02:00
Juan Lang
f3a1f2bf60 crypt32: Win64 printf format warning fixes. 2006-10-04 09:59:57 +02:00
Marcus Meissner
e25e1a4de2 crypt32: Include wine/port.h for strcasecmp. 2006-10-03 20:33:36 +02:00
Paul Vriens
822e6af604 crypt32: Don't crash when tracing is on and a numeric identifier is passed. 2006-09-08 11:02:10 +02:00