Commit Graph

82 Commits

Author SHA1 Message Date
Hans Leidekker 226fd5cb23 crypt32: Initial implementation of PFXImportCertStore.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 17:12:13 +01:00
Dmitry Timoshkov fd6e9ccca3 crypt32: Add support for a particular ALG_ID to I_CryptGetDefaultCryptProv.
Based on a patch by Alexander Morozov.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-06 12:48:36 +01:00
Dmitry Timoshkov 41e0a38f7c crypt32: Directly call I_CryptGetDefaultCryptProv to make hooking from a 3rd party CSP work.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 10:35:45 +01:00
Dmitry Timoshkov a7d07684cc crypt32: Make I_CryptGetDefaultCryptProv hot-patchable.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 15:29:57 +02:00
André Hentschel 42c20ac0b8 crypt32: Print Crypt(Un)protectMemory FIXME only once.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 12:33:22 +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
Hans Leidekker a8baf4d3ef crypt32: Add stub implementations of CryptProtectMemory and CryptUnprotectMemory. 2015-08-06 21:41:28 +09:00
Jacek Caban c7d1082b4f crypt32: Added new empty store type and use it for creating certificates with no store. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 99bf9ee8e0 crypt32: Don't bother to free memory at process exit. 2013-05-15 10:16:05 +02:00
Juan Lang ffba84b161 crypt32: Switch to use the AES provider by default. 2010-03-16 11:29:53 +01:00
Reece Dunn a15dbfac22 crypt32: Fix CryptFreeTls when calling with a freed index. 2010-03-03 11:50:04 +01:00
Paul Chitescu 7223d8b6d2 crypt32: Check the result of CryptAcquireContextW() when initializing default provider. 2009-11-09 19:37:00 +01:00
Francois Gouget 42abd3b03a crypt32: Remove unneeded casts of zero. 2008-12-08 12:05:37 +01:00
Juan Lang ab81dc123e crypt32: Make a global copy of crypt32's HINSTANCE. 2008-11-07 10:59:03 +01:00
Juan Lang ba7705ea95 crypt32: Add base implementation of CryptFormatObject. 2008-11-07 10:58:56 +01:00
Juan Lang 5c8aa89163 crypt32: Fix race condition in loading default provider. 2008-01-15 11:38:02 +01:00
Juan Lang 027236b04f crypt32: Don't release default crypto provider on process shutdown. 2008-01-15 11:37:58 +01:00
Juan Lang 1dce5ed3b0 crypt32: Free root store when quitting. 2007-10-19 14:22:21 +02:00
Juan Lang e857f383a4 crypt32: Implement I_CertUpdateStore. 2007-10-19 14:18:20 +02:00
Juan Lang b4eb9bf251 crypt32: Add I_CertUpdateStore stub. 2007-10-19 14:18:04 +02:00
Juan Lang 7b8cb034b2 crypt32: Add stubs for I_CryptFindLruEntry and I_CryptCreateLruEntry. 2007-10-19 14:17:57 +02:00
Juan Lang 8e1151ec18 crypt32: Partially implement CryptQueryObject. 2007-09-26 14:27:02 +02:00
Francois Gouget b7bf91f5e8 crypt32: Fix the I_Crypt*Asn1*() prototypes. Add the i_cryptasn1tls.h header and use it. 2007-09-12 11:33:10 +02:00
Juan Lang f5b4806159 crypt32: Implement CryptVerifyMessageSignature. 2007-08-23 12:38:05 +02:00
Juan Lang 1626da2bba crypt32: Free default chain engine. 2007-08-16 11:46:40 +02:00
Juan Lang 0c4c1985b0 crypt32: Add stub for I_CryptGetAsn1Decoder. 2007-08-10 12:58:17 +02:00
Francois Gouget f67fd2cfa4 crypt32: Better match the PSDK types and fix the winapi_check warnings. 2007-08-06 12:30:48 +02:00
Juan Lang 19c3a09ba8 crypt32: Implement CryptSIPLoad. 2007-07-10 14:41:05 +02:00
Andrew Talbot 79d1d77f74 crypt32: Exclude unused headers. 2007-04-30 12:32:35 +02:00
Juan Lang 2f7b91d7be crypt32: Set ppSignerSig to NULL in case caller doesn't check return value. 2007-03-13 12:08:38 +01:00
Louis Lenders 3fa930cb3b crypt32: Better stub for I_CryptInstallOssGlobal. 2006-11-27 17:20:57 +01:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Juan Lang f3a1f2bf60 crypt32: Win64 printf format warning fixes. 2006-10-04 09:59:57 +02:00
Paul Vriens ef860912a2 crypt32: Move SIP related functions to their own file. 2006-09-20 11:16:20 +02:00
Paul Vriens 869b6f7759 crypt32: Fix the adding of pwszIsFunctionName and pwszIsFunctionNameFmt2. 2006-09-10 10:17:18 +02:00
Paul Vriens f7ea462916 crypt32: Implemented CryptSIPRemoveProvider. 2006-09-10 10:15:38 +02:00
Paul Vriens b8d9201fc3 crypt32: Add documentation. 2006-09-10 10:15:20 +02:00
Paul Vriens 4388bdac70 crypt32: Bail out on registry errors and return the error (if any). 2006-09-08 15:07:38 +02:00
Paul Vriens 75604e8681 crypt32: Add documentation. 2006-09-08 15:07:30 +02:00
Paul Vriens 3891011e50 crypt32: Change the order of writing to the registry. 2006-09-08 15:07:23 +02:00
Paul Vriens 360954e46a crypt32: Bail out on registry errors and return the error (if any). 2006-09-08 15:07:12 +02:00
Paul Vriens 8840ef3327 crypt32: Added some input validation. 2006-09-08 15:06:46 +02:00
Juan Lang 9958987f18 crypt32: Add CryptFormatObject stub. 2006-08-23 11:59:43 +02:00
Paul Vriens a96ef0bac8 crypt32: Print parameters and add some documentation. 2006-08-22 12:53:49 +02:00
Juan Lang 5bc1b8ac31 crypt32: Improve undocumented functions.
- Test and implement I_CryptGetDefaultCryptProv (and correct its
  parameter list)
- I_CryptReadTrustedPublisherDWORDValueFromRegistry always initializes
  its out parameter, correct and show with a test.
2006-08-12 11:39:49 +02:00
Juan Lang 759850feff crypt32: Add a couple stubs, and implement the undocumented I_CryptReadTrustedPublisherDWORDValueFromRegistry. 2006-08-10 10:55:13 +02:00
Juan Lang aeb8036486 wincrypt.h: Add more definitions and prototypes. 2006-06-21 11:15:41 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Juan Lang 690f98408b crypt32: implement CryptEnumOIDInfo and CryptFindOIDInfo.
- implement CryptEnumOIDInfo and CryptFindOIDInfo
- implement CertOIDToAlgId and CertAlgIdToOID using CryptFindOIDInfo
2006-02-24 11:26:01 +01:00
Juan Lang 6da92ded75 crypt32: Move OIDToAlgID and AlgIDToOID to oid.c. 2006-02-23 11:14:13 +01:00