Commit Graph

40 Commits

Author SHA1 Message Date
Hans Leidekker 1fb28509f7 crypt32: Consistently use CryptMemAlloc/Free().
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 16:05:29 +02:00
Eric Pouech 5fc99b35ba crypt32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 18:37:32 +01:00
Alexandre Julliard 41663e6ea5 crypt32: Convert the Unix library to the __wine_unix_call interface.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:09:52 +01:00
Paul Gofman 706e35f2a2 crypt32: Fix adding trusted roots to store.
Fixes Steam client errors on SSL connections
(regression from bd59aa6d66).

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 17:19:44 +01:00
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
Alexandre Julliard bd59aa6d66 crypt32: Move the root store initialization to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 11:40:55 +01:00
Michael Müller 5b62f89baa crypt32: Add MS root CA 2010.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47626
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-28 22:00:00 +01:00
Alex Henrie 9b87b610eb crypt32: Factor out sprintf calls in trust_status_to_str (scan-build).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-16 10:15:40 +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
Michael Müller 4647a730ec crypt32: Add MS root CA 2011.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 15:24:40 +02:00
Donat Enikeev c2b0dfd73d crypt32: Import system root certs into volatile registry keys instead of dedicated root store.
Signed-off-by: Donat Enikeev <donat@enikeev.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-07 17:49:25 +01:00
Alexandre Julliard 9640949cc3 crypt32: Add a root store path for Android. 2014-10-31 15:47:25 +09:00
Jacek Caban ca2e1c164f crypt32: Added support for HCCE_LOCAL_MACHINE. 2014-03-04 17:06:24 +01:00
Dmitry Timoshkov 84029a836f crypt32: Add another root store path to the certificate location list. 2013-10-17 20:29:38 +02:00
Jacek Caban b3b1135d84 crypt32: Added addref to store vtbl and use it instead of directly accessing ref. 2013-10-14 17:26:14 +02:00
Jacek Caban 0c4a2df240 crypt32: Get rid of PWINECRYPT_CERTSTORE typedef. 2013-09-04 14:37:57 +02:00
Jacek Caban 9db146f544 crypt32: Use CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL flag for root store certificate's chain validation. 2013-09-03 17:00:33 +02:00
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Alexandre Julliard f9a9a18e1d crypt32: Include system headers before Windows headers. 2011-09-05 17:22:17 +02:00
Kazuyuki Sato 8cdf735822 crypt32: Add additional path for Solaris 11 Express. 2011-07-18 16:23:30 +02:00
Alexandre Julliard 45db3481f4 configure: Improve check for security framework and don't warn about gnutls in that case. 2011-03-14 19:31:28 +01:00
Andrew Nguyen 6f2513d39a crypt32: Avoid relying on PATH_MAX in import_certs_from_dir helper.
PATH_MAX is not guaranteed to be available on all platforms, and it is 
inadequate as a hardcoded buffer size anyway.
2010-10-08 11:56:45 +02:00
Ken Thomases 3921454398 crypt32: Read trusted root certificates from system keychain on Mac OS X. 2009-11-21 14:31:45 +01:00
Juan Lang 7a73fd97ad crypt32: Fix a memory leak reading trusted root certs. 2009-11-03 21:29:24 +01:00
Juan Lang 16036dd27a crypt32: Allow errors in locally installed root certs. 2009-11-03 21:18:30 +01:00
Juan Lang 90d7172bcb crypt32: Fix leak on error path.
Spotted by Chris Ahrendt.
2009-08-05 11:40:33 +02:00
Juan Lang 69e43ef108 crypt32: Remove location checks when opening root store. 2009-01-19 13:36:26 +01:00
Alexandre Julliard 7d4bc8503b crypt32: Make some functions and variables static. 2008-12-02 15:27:40 +01:00
Austin English fe256f99d3 crypt32: fix a test failure on Free/PC-BSD. 2008-10-28 13:26:01 +01:00
Rob Shearman 87175c61f5 Add configure check for dirent.h and readdir. 2008-10-06 13:06:57 +02:00
Juan Lang 5fff29cded crypt32: Reorganize root store creation code. 2008-07-17 11:36:31 +02:00
Juan Lang e459ac84ee crypt32: Add MS root certs to root store. 2008-07-14 11:42:29 +02:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Juan Lang e94ce8a0b2 crypt32: Fix leaked chains creating the root store. 2007-11-02 12:21:53 +01:00
Juan Lang 1dce5ed3b0 crypt32: Free root store when quitting. 2007-10-19 14:22:21 +02:00
Andrew Talbot f19086e9d3 crypt32: Fix some memory leaks. 2007-09-17 13:48:32 +02:00
Francois Gouget 5ac6e1f5c5 crypt32: We don't consider sys/types.h to be a conditional include. 2007-09-13 11:01:00 +02:00
Rob Shearman 9ddc872a1a crypt32: Fix a compile failure on *BSD systems.
Include limits.h for the definition of PATH_MAX.
2007-09-12 11:33:10 +02:00
Juan Lang 9663f9427b crypt32: Add a root store implementation that reads trusted certificates from well-known locations on the local system. 2007-09-11 11:57:06 +02:00