Commit Graph

1131 Commits

Author SHA1 Message Date
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 e9352b90f8 crypt32: Add a function to format a CERT_NAME_BLOB as an indented string, and implement CertNameToStrW on top of it. 2008-11-17 12:59:22 +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
Ricardo Filipe 42944e82e5 crypt32: Added Portuguese translation. 2008-11-17 12:58:26 +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
Paul Vriens 77ca0d8935 crypt32/tests: Fix a test failure on Vista and W2K8. 2008-11-13 11:48:34 +01:00
Paul Vriens 7e0b930182 crypt32/tests: Skip some tests if needed. 2008-11-13 11:48:28 +01:00
Nicolas Le Cam ed364027e7 crypt32/tests: Fix a failing test on win2000. 2008-11-11 14:06:39 +01:00
Michael Stefaniuc c48c5c8577 crypt32: Fix the aligning up to a DWORD_PTR boundary. 2008-11-07 11:01:21 +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 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 14cb694ff8 crypt32: Add tests for CryptFormatObject. 2008-11-07 10:58:47 +01:00
Juan Lang aa1effe3b2 crypt32: Separate checking the tag of encoded bits from decoding the bits. 2008-11-06 11:09:26 +01:00
Juan Lang ed2ba3a467 crypt32: Add missing ok calls. 2008-11-06 11:09:22 +01:00
Michael Stefaniuc 7589715c87 crypt32: Remove superfluous casts of void pointers. 2008-11-04 11:26:34 +01:00
Juan Lang d8c2a40cf6 crypt32: Fix typo. 2008-11-04 11:18:45 +01:00
Aric Stewart c009f9c9ee crypt32: Static functions CertContext_GetProperty and CertContext_SetProperty do not need to be WINAPI. 2008-11-03 11:50:02 +01:00
Juan Lang c83ff71293 crypt32: Fix test failures on older versions of Windows. 2008-11-03 11:49:51 +01:00
Juan Lang 3fdf6024a2 crypt32: Fix some test failures on Win9x/NT4. 2008-10-31 12:57:33 +01:00
Juan Lang 558057b4b2 crypt32: Fix chain error status when a cert's issuer can't be found. 2008-10-31 12:57:25 +01:00
Juan Lang 97cfb3adfe crypt32: Don't neglect status to ignore on a Windows platform when a test is todo_wine. 2008-10-31 12:57:21 +01:00
Juan Lang 39a7d40413 crypt32: Fix frequency with which chains are checked for cycles. 2008-10-30 11:29:37 +01:00
Juan Lang 307d7b965f crypt32: Fix failing test. 2008-10-30 11:29:32 +01:00
Austin English fe256f99d3 crypt32: fix a test failure on Free/PC-BSD. 2008-10-28 13:26:01 +01:00
Juan Lang 80b33c8aeb crypt32: Fix a failing test on Windows. 2008-10-27 11:22:20 +01:00
Juan Lang cd434dd992 crypt32: Change expected behavior of a test to match Windows Vista/2008. 2008-10-24 14:25:00 +02:00
Juan Lang 92e88c3a9e crypt32: Fix a failing test on Windows, and remove TODO_ERROR since Wine's implemenation already matches. 2008-10-24 14:24:59 +02:00
Juan Lang 0556e9d966 crypt32: Correct trust error status for cyclic chains. 2008-10-23 12:13:25 +02:00
Juan Lang 5aacc1df9f crypt32: Add stub for CertEnumPhysicalStore. 2008-10-23 12:13:14 +02:00
Juan Lang 5a5129b42e crypt32: Pass flags to enumeration callback. 2008-10-23 12:13:09 +02:00
Juan Lang 9686e7b286 crypt32: Don't crash if adding to a provider store fails. 2008-10-21 11:43:08 +02:00
Juan Lang 5f1c27d821 crypt32: Fix expected/got mixup. 2008-10-17 20:17:21 +02:00
Juan Lang eeec9bf349 crypt32: Correct another chain status discrepancy with Windows. 2008-10-17 20:17:11 +02:00
Juan Lang 25698f8938 crypt32: Microsoft fixed a bug with name constraints, so make Wine's behavior match. 2008-10-17 20:17:08 +02:00
Juan Lang e1e17b89c9 crypt32: Actually compare chain status instead of doing a no-op comparison, and mark as todo the statuses that don't match in Wine. 2008-10-17 12:23:51 +02:00
Juan Lang 3454e94d94 crypt32: Use helper function and broken() macro to make expected chain status results a little more clear. 2008-10-17 12:23:44 +02:00
Juan Lang 439f5e0de9 crypt32: Include policy being checked in failure message. 2008-10-17 12:23:38 +02:00
Juan Lang 052238d064 crypt32: Make some variables const. 2008-10-17 12:23:33 +02:00
Juan Lang de2a187bb7 crypt32: Don't check for no data to decode in CryptDecodeObject{Ex}, doing so masks some errors. 2008-10-17 11:43:48 +02:00
Juan Lang 916e47861a crypt32: Correct last error when no data are passed to CRYPT_AsnDecodeInt. 2008-10-17 11:43:41 +02:00
Juan Lang 88a1ecb695 crypt32: Fix a few more test failures. 2008-10-17 11:43:37 +02:00
Juan Lang ad1c1c6107 crypt32: Fix a test failure on Win98. 2008-10-16 11:22:11 +02:00
Juan Lang 28953bb9d2 crypt32: Fix tests on WinME. 2008-10-16 11:22:07 +02:00
Juan Lang ee2fc60c17 crypt32: Fix remaining Win9x encoding test failures. 2008-10-16 11:22:04 +02:00
Juan Lang 1bde692112 crypt32: Fix more test failures on Win9x. 2008-10-14 11:26:13 +02:00
Detlef Riekenberg 76ca951fab crypt32/tests: Fix some tests on win9x. 2008-10-13 12:03:09 +02:00
Detlef Riekenberg 846e613b87 crypt32/tests: Fix a test on win9x. 2008-10-13 12:03:05 +02:00
Juan Lang c2921eda4a crypt32: Fix some test failures on Win9x. 2008-10-10 12:27:52 +02:00
Juan Lang cb341f3717 crypt32: Fix error handling for cyclic chains. 2008-10-09 12:29:44 +02:00
Juan Lang 742c1a37f3 crypt32: Remove an error that no longer fails. 2008-10-09 12:29:38 +02:00
Juan Lang dd74ac0ce5 crypt32: Fix some chain failures on Win9x/NT4. 2008-10-09 12:29:32 +02:00
Juan Lang 5fc947e0b6 crypt32: Fix test failures on NT4. 2008-10-09 12:29:26 +02:00
Juan Lang dc34bb9eb0 crypt32: Implement CryptSIPRetrieveSubjectGuid for .cat files. 2008-10-09 12:14:57 +02:00
Rob Shearman 87175c61f5 Add configure check for dirent.h and readdir. 2008-10-06 13:06:57 +02:00
James Hawkins 5114d652d2 crypt32: Fix several failing tests in win9x. 2008-09-29 17:25:25 -05:00
James Hawkins a94594983d crypt32: Fix several test failures in win98. 2008-09-24 13:11:58 +02:00
Andrew Talbot 7a54be05f0 crypt32: Sign-compare warnings fix. 2008-09-24 12:52:52 +02:00
Andrew Talbot 610dbbdae5 crypt32: Sign-compare warnings fix. 2008-09-24 12:52:46 +02:00
Paul Vriens d88cfec91d crypt32/tests: Add a missing CryptMsgUpdate. 2008-09-19 11:41:32 +02:00
Juan Lang abde9a91f2 crypt32: Add support for the CERT_EXTENDED_ERROR_INFO_PROP_ID. 2008-09-18 12:32:36 +02:00
Paul Vriens 9b4a5cd065 crypt32/tests: Don't crash on win9x. 2008-09-18 12:24:07 +02:00
Paul Vriens 7e4ea8e57c crypt32/tests: Don't crash on NT4. 2008-09-15 11:30:40 +02:00
Francois Gouget 2797e8fcb6 crypt32/tests: Win98 is missing Crypt{Encode,Decode}ObjectEx(). 2008-09-12 11:40:07 +02:00
James Hawkins 18c45d8be7 crypt32: Fix a failing test in Vista. 2008-09-11 11:50:23 +02:00
James Hawkins a4d375c9f0 crypt32: Fix a failing test in Vista. 2008-09-11 11:50:19 +02:00
James Hawkins 1779c64ba0 crypt32: Fix a failing test in win9x. 2008-09-11 11:50:14 +02:00
Juan Lang c958a71df9 crypt32: Don't set salt's cbData unless allocation succeeds. Fixes Coverity id 133. 2008-09-11 11:44:05 +02:00
Juan Lang 8ccd53dd7a crypt32: Get rid of a magic number and a redundant assignment. 2008-09-10 10:41:03 +02:00
Juan Lang e4a0633818 crypt32: Return FALSE rather than crash if memory allocation fails. Fixes Coverity id 135. 2008-09-10 10:40:46 +02:00
Juan Lang 71e394fb89 crypt32: Fix typo. Fixes Coverity item 605. 2008-09-10 10:40:43 +02:00
Juan Lang 78baaf932a crypt32: Assert condition that can occur only in case of a bug. 2008-09-10 10:40:40 +02:00
Juan Lang 8c0e089d68 crypt32: Simplify CryptVerifyMessageSignature. 2008-09-09 11:46:15 +02:00
Juan Lang cb5385e326 crypt32: Implement CryptVerifyDetachedMessageSignature. 2008-09-09 11:46:15 +02:00
Juan Lang 9e6b32139d crypt32: Add tests for CryptVerifyDetachedMessageSignature. 2008-09-09 11:46:15 +02:00
Juan Lang 814451a420 crypt32: Add stub for CryptVerifyDetachedMessageSignature. 2008-09-09 11:46:15 +02:00
Juan Lang 32466b3a83 crypt32: Test verifying the signature of a detached signed message. 2008-09-09 11:46:15 +02:00
Juan Lang b7d26dc9f5 crypt32: Don't crash when asked to verify a signature before the content has been finalized. 2008-09-09 11:46:15 +02:00
Juan Lang f98eb4a8a0 crypt32: Implement CryptVerifyMessageHash. 2008-09-09 11:46:15 +02:00
Juan Lang c097a7a6a6 crypt32: Add tests for CryptVerifyMessageHash. 2008-09-09 11:46:15 +02:00
Juan Lang 3cef67d5ca crypt32: Add stub for CryptVerifyMessageHash. 2008-09-09 11:46:14 +02:00
Juan Lang 7c83565580 crypt32: Don't store redundant copy of detached hash message data. 2008-09-09 11:46:14 +02:00
Juan Lang 254f9b9c01 crypt32: Check length of sequence before checking tag. 2008-09-09 11:46:14 +02:00
Paul Vriens e8b8856df0 crypt32/tests: Fix a test on Vista. 2008-09-08 12:49:12 +02:00
James Hawkins 8733ec8326 crypt32: Trace the returned value on failure. 2008-09-08 12:47:22 +02:00
Francois Gouget 80ef97be1a crypt32/tests: Add a trailing '\n' to an ok() call. 2008-09-05 13:39:05 +02:00
Paul Vriens 961d65ab30 crypt32/tests: Don't crash on Vista. 2008-09-05 13:38:56 +02:00
Alexandre Julliard ced5cb67ed crypt32: Avoid some uninitialized variable warnings on older gcc. 2008-09-05 11:32:59 +02:00
James Hawkins 4490de3528 crypt32: Fix a few test failures in win9x. 2008-09-03 14:21:42 +02:00