Commit Graph

53 Commits

Author SHA1 Message Date
Hans Leidekker 962aed5120 crypt32: Add support for PFX objects in CryptQueryObject.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 15:41:09 +01: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
Sebastian Lackner 2b1c8fed24 crypt32: Set correct return value if CryptMemAlloc fails. 2013-12-09 11:47:44 +01:00
Dmitry Timoshkov 99a81e1843 crypt32: Check number of bytes returned by ReadFile and avoid a memory leak on error path. 2013-10-30 15:28:30 +01:00
Jacek Caban c72570ce52 crypt32: Use Context_Release instead of WINE_CONTEXT_INTERFACE. 2013-10-14 17:26:15 +02:00
Jacek Caban 76066d1cfe crypt32: Use Context_AddRef instead of WINE_CONTEXT_INTERFACE. 2013-10-14 17:26:15 +02:00
Andrew Talbot 2d7595fd2a crypt32: Avoid signed-unsigned integer comparisons. 2013-01-02 13:35:54 +01:00
Frédéric Delanoy f73733b8b0 crypt32: Remove dead code (Clang). 2011-07-05 14:42:40 +02:00
Piotr Caban a343c1fbd0 crypt32: Fix content type in CRYPT_QueryEmbeddedMessageObject function. 2011-05-03 19:34:29 +02:00
Andrew Talbot 4bdeb7dcb3 crypt32: Constify some variables. 2010-08-20 13:21:30 +02: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 7dd75d1181 crypt32: Fix a memory leak querying a message object. 2009-11-03 21:29:19 +01:00
Juan Lang 9928e2e1c5 crypt32: Support reading a serialized store object from memory in CryptQueryObject. 2009-11-03 21:29:13 +01:00
Andrew Talbot 85f9460a58 crypt32: Constify some variables. 2009-06-17 12:04:35 +02:00
Michael Stefaniuc 903585162d crypt32: Remove remaining superfluous pointer casts. 2009-01-28 12:30:54 +01:00
Juan Lang 8777a83467 crypt32: Support wide character base64-encoded PKCS messages in CryptQueryObject. 2008-12-12 11:40:15 +01:00
Juan Lang 909a81839b crypt32: Support base64-encoded PKCS messages in CryptQueryObject. 2008-12-12 11:39:30 +01:00
Juan Lang 62cbf42689 crypt32: Split querying PKCS messages into helper functions. 2008-12-12 11:39:24 +01:00
Juan Lang 626a6fe15d crypt32: Support base64-encoded context objects in CryptQueryObject. 2008-12-12 11:39:17 +01:00
Juan Lang 33f0655e2a crypt32: Downgrade a fixme to a warn. 2008-12-12 11:39:11 +01:00
Juan Lang 86e2f94e68 crypt32: Don't claim to have queried an object as a serialized context when reading it has failed. 2008-12-12 11:39:05 +01:00
Juan Lang 2b384cb0e9 crypt32: Validate input arguments to CryptQueryObject. 2008-12-12 11:38:53 +01:00
Ricardo Filipe a582b389aa crypt32: Remove dead code (llvm/clang). 2008-12-04 12:41:47 +01:00
Juan Lang afc7a79897 crypt32: Implement CryptFormatObject for the Netscape string OIDs. 2008-11-24 13:43:32 +01:00
Juan Lang 9d4ab48750 crypt32: Formatted bits are always in a single line, regardless of dwFormatStrType. 2008-11-21 10:00:01 +01:00
Juan Lang 57fde4e8a2 crypt32: Check registered CryptFormatObject functions before using default hex format. 2008-11-21 09:59:57 +01:00
Juan Lang 76d2537094 crypt32: Implement CryptFormatObject for szOID_NETSCAPE_CERT_TYPE. 2008-11-20 12:00:57 +01:00
Juan Lang 5eb2a83189 crypt32: Implement CryptFormatObject for szOID_KEY_USAGE. 2008-11-20 12:00:50 +01:00
Francois Gouget 30b089668b crypt32: Fix Spelling of 'superseded'. 2008-11-17 16:04:33 +01:00
Juan Lang 83f7f9b0ff crypt32: Implement CryptFormatObject for alternate names. 2008-11-17 12:59:43 +01:00
Juan Lang d3cfe743a1 crypt32: When formatting a directory name as a multiline string, put a newline between the heading and the value. 2008-11-17 12:59:33 +01:00
Juan Lang 4c3474c0ed crypt32: Indent directory name when formatting an alt name entry. 2008-11-17 12:59:28 +01:00
Juan Lang 3b81c62b5c crypt32: Use correct string for directory names in a CERT_ALT_NAME_ENTRY. 2008-11-17 12:59:03 +01:00
Juan Lang e987ecc3e7 crypt32: Correct heading for a certificate issuer in a CERT_AUTHORITY_KEY_ID2. 2008-11-17 12:58:53 +01:00
Juan Lang 5922150e2f crypt32: Fix indenting for szOID_CRL_DIST_POINTS. 2008-11-13 11:50:23 +01:00
Juan Lang ea81720f8f crypt32: Fix comment typo. 2008-11-13 11:50:18 +01:00
Juan Lang 7fb0ce5532 crypt32: Implement formatting an alt name entry with type CERT_ALT_NAME_DIRECTORY_NAME. 2008-11-13 11:50:13 +01:00
Juan Lang a82454b2ee crypt32: Fix off-by-one error in formatting szOID_AUTHORITY_KEY_IDENTIFIER2. 2008-11-13 11:50:07 +01:00
Juan Lang 1c35b251e8 crypt32: Don't underreport the size available when formatting szOID_AUTHORITY_KEY_IDENTIFIER2. 2008-11-13 11:50:01 +01:00
Juan Lang 305c965276 crypt32: Implement CryptFormatObject for SPC_FINANCIAL_CRITERIA_OBJID. 2008-11-07 10:59:53 +01:00
Juan Lang 9fecf55753 crypt32: Implement CryptFormatObject for szOID_CRL_DIST_POINTS. 2008-11-07 10:59:47 +01:00
Juan Lang c11aa873c5 crypt32: Implement CryptFormatObject for szOID_AUTHORITY_INFO_ACCESS. 2008-11-07 10:59:40 +01:00
Juan Lang c6ec755469 crypt32: Implement CryptFormatObject for szOID_BASIC_CONSTRAINTS2. 2008-11-07 10:59:33 +01:00
Juan Lang b5f6c34977 crypt32: Implement CryptFormatObject for szOID_ENHANCED_KEY_USAGE. 2008-11-07 10:59:28 +01:00
Juan Lang 426d13e5be crypt32: Implement CryptFormatObject for szOID_AUTHORITY_KEY_IDENTIFIER2. 2008-11-07 10:59:21 +01:00
Juan Lang ba7705ea95 crypt32: Add base implementation of CryptFormatObject. 2008-11-07 10:58:56 +01:00
Juan Lang 10f23fa7f5 crypt32: Use CryptSIPRetrieveSubjectGuid to determine how to read a message object from a file, rather than assuming the source file is always a PE executable. 2008-08-05 14:09:34 +02:00
Juan Lang e5e551dfbe crypt32: Don't expect ImageGetCertificateData to succeed when Certificate is NULL. 2008-07-14 11:42:33 +02:00
Juan Lang bc81929519 crypt32: Rename a couple of functions. 2007-09-28 11:30:48 +02:00
Juan Lang f8ff1c3237 crypt32: Support PKCS messages wrapped in a PKCS content info in CryptQueryObject. 2007-09-27 21:03:16 +02:00