Detlef Riekenberg
48ae4314d0
wintrust/tests: Accept the CryptCATAdminAcquireContext win8 results.
2013-11-19 19:06:10 +01:00
Michael Stefaniuc
640dd17acf
wintrust/tests: Compile with -D__WINESRC__.
2013-10-18 11:31:46 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Marcus Meissner
a090b46f72
wintrust: Fixed some memory leaks (Coverity).
2013-09-30 20:34:50 +02:00
Hans Leidekker
e1b4334f89
wintrust/tests: Replace the self-signed certificate with one that expires in ten years.
2013-06-21 16:23:34 +02:00
André Hentschel
aa80d16768
wintrust/tests: Unify test message in case of a FALSE return.
2012-12-06 20:31:31 +01:00
Francois Gouget
709a0b764d
Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode.
2012-09-24 22:27:28 +02:00
Michael Stefaniuc
a04900df68
wintrust: Avoid a TRUE:FALSE conditional expression.
2012-08-15 12:12:59 +02:00
Detlef Riekenberg
fbc735bef7
wintrust/tests: Handle ERROR_ACCESS_DENIED failures.
2012-08-14 11:58:14 +02:00
Thomas Faber
e68d5b93ff
wintrust/tests: Fix build with MSVC.
2012-06-22 14:09:45 +02:00
Juan Lang
ba78b54820
wintrust: Don't dereference a potentially NULL pointer.
2011-12-12 10:21:10 +01:00
Juan Lang
398b62ba32
wintrust: Add FindCertsByIssuer stub.
2011-10-24 11:17:31 +02:00
Francois Gouget
3de330db54
tests: Remove unneeded assert.h includes.
2011-09-27 10:59:56 +02:00
Juan Lang
c0a8694bbc
wintrust: Correct ObjectTrust error with empty files.
2011-09-15 15:41:40 +02:00
Nicolas Le Cam
2573c84423
wintrust/tests: BaseOfData isn't part of IMAGE_OPTIONAL_HEADER64 structure.
2011-05-06 14:23:46 +02:00
Piotr Caban
1ece5b3ab6
wintrust: Added CryptSIP{Get,Put}SignedDataMsg tests.
2011-05-03 19:34:29 +02:00
Piotr Caban
3a945c3987
wintrust: Fix CryptSIPGetSignedMsg (from PE file).
2011-05-03 19:34:29 +02:00
Piotr Caban
3a6196b79e
wintrust: Added CryptSIPPutSignedDataMsg implementation (for PE files).
2011-05-03 19:34:29 +02:00
Marcus Meissner
4b04574275
wintrust: Mark internal symbols as hidden.
2011-04-29 14:21:41 +02:00
Juan Lang
3effba7805
wintrust: Implement IsCatalogFile.
2011-04-18 12:08:11 +02:00
Austin English
d23b088818
wintrust/tests: Remove win9x hacks.
2011-02-18 14:54:51 +01:00
Juan Lang
7c42297bf3
wintrust/tests: Fix a leak (valgrind).
2011-02-17 17:26:00 +01:00
Juan Lang
4325d75d5d
wintrust/tests: Fix a leak (valgrind).
2011-02-10 10:28:02 -06:00
Austin English
1f10a78cb0
wintrust: Remove a dead assignment (LLVM/Clang).
2011-02-04 15:25:33 +01:00
Austin English
4d6caaebbd
wintrust/tests: Make sure return values are used (LLVM/Clang).
2011-02-04 15:25:33 +01:00
Austin English
855c5e848d
wintrust/tests: Make sure return values are used (LLVM/Clang).
2011-02-04 15:25:33 +01:00
Austin English
0fed8b0fe2
wintrust/tests: Make sure return values are used (LLVM/Clang).
2011-02-04 15:25:33 +01:00
Detlef Riekenberg
179e26b3f1
wintrust/tests: Run the test again on W98.
2010-11-05 17:15:36 +01:00
Juan Lang
68fceb5e5b
wintrust: Get time to verify from cryptographic message when present.
2010-10-15 11:32:53 +02:00
Juan Lang
604e39dde5
crypt32: Add parameter checking to CryptSIPCreateIndirectData.
2010-09-24 18:20:27 +02:00
Juan Lang
ea715da1c6
wintrust/tests: Test CryptSIPCreateIndirectData.
2010-09-24 18:20:25 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Juan Lang
0b7711e545
wintrust/tests: Fix test failures when not running as administrator.
2010-05-18 08:49:52 +02:00
Gerald Pfeifer
7cdcdf781e
wintrust/tests: Remove variable myARGC which is not really used from test_cdf_parsing.
2010-05-03 15:39:56 +02:00
Mikhail Maroukhine
968b98f842
wintrust: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:18:12 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Juan Lang
2f83664981
wintrust: Correct GenericChainCertificateTrust's handling of WINTRUST_CreateChainForSigner's return value.
2010-03-03 10:58:55 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Juan Lang
ab270f9966
wintrust: Fix copy-paste error.
2010-02-02 11:47:19 +01:00
Juan Lang
0f632c0caf
wintrust: Fix uninitialized return value (Coverity).
2010-02-02 11:47:19 +01:00
Juan Lang
428fc17934
wintrust: Return error directly from WINTRUST_CreateChainForSigner.
2010-01-29 13:30:03 +01:00
Juan Lang
711ca0f4f3
wintrust: Fail creating a chain if a store couldn't be created.
2010-01-29 13:30:03 +01:00
Juan Lang
59dcf9c9ee
wintrust: Return error directly from WINTRUST_CopyChain.
2010-01-29 13:30:03 +01:00
Juan Lang
c9c23190f7
wintrust: Simplify error handling in SoftpubLoadSignature.
2010-01-29 13:30:03 +01:00
Juan Lang
47e75329e3
wintrust: Return error directly from WINTRUST_SaveSigner.
2010-01-29 13:30:03 +01:00
Juan Lang
1781878b00
wintrust: Return error directly from WINTRUST_VerifySigner.
2010-01-29 13:30:03 +01:00
Juan Lang
4c1e554d19
wintrust: Close file handle on error loading a message from it.
2010-01-28 12:14:02 +01:00
Juan Lang
dce2a4590d
wintrust: Return error directly from SOFTPUB_LoadCertMessage.
2010-01-28 12:13:59 +01:00
Juan Lang
6099adf79a
wintrust: Return error directly from SOFTPUB_DecodeInnerContent.
2010-01-28 12:13:56 +01:00
Juan Lang
8085ea5fe0
wintrust: Return error directly from SOFTPUB_CreateStoreFromMessage.
2010-01-28 12:13:53 +01:00
Juan Lang
568b0025c7
wintrust: Return error directly from SOFTPUB_GetMessageFromFile.
2010-01-28 12:13:50 +01:00
Juan Lang
2c12de4b7e
wintrust: Return error directly from SOFTPUB_GetSIP.
2010-01-28 12:13:47 +01:00
Juan Lang
b5fbb87470
wintrust: Return error directly from SOFTPUB_GetFileSubject.
2010-01-28 12:13:44 +01:00
Juan Lang
fc1fbf6107
wintrust: Return error directly from SOFTPUB_OpenFile.
2010-01-28 12:13:41 +01:00
Juan Lang
528876c402
wintrust: Return error directly from SOFTPUB_LoadCatalogMessage.
2010-01-28 12:13:38 +01:00
Juan Lang
9e8e14ed12
wintrust: Return error directly from SOFTPUB_LoadFileMessage.
2010-01-28 12:13:35 +01:00
James Hawkins
b2d1c3eeec
wintrust: Fix a memory leak until our implementation is fixed.
2010-01-07 17:59:58 +01:00
Juan Lang
2fbe80ad89
wintrust: Check authority key identifer extension to determine if a certificate is self-signed.
2009-12-18 11:40:02 +01:00
Juan Lang
497b67dbf6
wintrust: Fail to load a certificate from a PE file if the certificate entry isn't a known type.
2009-12-07 09:49:18 +01:00
Juan Lang
ba9ccc51e2
wintrust: Fix memory leaks in tests.
2009-12-04 14:34:56 +01:00
Juan Lang
2768710c36
wintrust: Fix a test failure on Win2008.
2009-11-05 11:57:36 +01:00
Juan Lang
f4b359942b
wintrust: Only close a file in SoftpubCleanup if the WINTRUST_DATA contains a WINTRUST_FILE_INFO.
2009-11-04 16:45:16 +01:00
Juan Lang
a5087e6051
wintrust: Make sure item size is at least the min size, and only align sizes that are greater.
2009-10-23 12:00:17 +02:00
Juan Lang
cd084ff1f9
wintrust: Test the pgKnownSubject field of WINTRUST_FILE_INFO.
2009-10-23 11:59:22 +02:00
Juan Lang
53f964fea8
wintrust: Correct sizes of structure members.
2009-10-20 14:00:35 +02:00
Juan Lang
af192c20f9
wintrust: Simplify CRYPT_AsnDecodeInt.
2009-10-19 11:36:02 +02:00
Francois Gouget
6cfce78c7d
wintrust/tests: Fix compilation on systems that don't support nameless unions.
2009-08-31 12:49:25 +02:00
Alexandre Julliard
ec98af650b
wintrust: Add stubs for the driver policy init functions.
2009-08-14 15:29:26 +02:00
Juan Lang
64b320b7d9
wintrust: Correct alignment for 64-bit.
2009-08-10 13:09:00 +02:00
Juan Lang
598e0a8fcf
wintrust: Implement WVTAsn1SpcSpOpusInfoDecode.
2009-08-07 11:39:35 +02:00
Alexandre Julliard
56af92b073
makefiles: Regenerate the source lists using make_makefiles.
2009-07-03 13:26:38 +02:00
Hans Leidekker
44db8883f8
wintrust/tests: Initialize a variable.
2009-07-03 13:06:17 +02:00
Aric Stewart
d962939290
wintrust: GetSignedMsgFromCabFile looks for signinfo at the beginning of the cab.
...
Discussed with Juan Lang, We could look for the signinfo at the
beginning of the cab and restore the file pointer afterward.
This allows IE7 to read the signing information from downloaded ActiveX
controls.
2009-06-25 11:46:28 +02:00
Aric Stewart
2dca912aa9
wintrust: Stub WTHelperCertCheckValidSignature.
2009-06-24 11:27:56 +02:00
Juan Lang
9da4d2f3a9
wintrust: Check for the presence of required members of WINTRUST_CERT_INFO rather than requiring callers to be compiled with the same SDK version.
2009-06-15 13:42:26 +02:00
Juan Lang
abacfc0f45
wintrust: Check for the presence of required members of WINTRUST_BLOB_INFO rather than requiring callers to be compiled with the same SDK version.
2009-06-15 13:42:26 +02:00
Hans Leidekker
f0cf772d52
wintrust: Add stub implementations of HTTPSCertificateTrust and HTTPSFinalProv.
2009-06-12 17:33:15 +02:00
Juan Lang
9ae0f7a191
wintrust: Only check the pgKnownSubject member if the struct includes it.
2009-06-12 17:33:14 +02:00
Paul Vriens
1862826a87
wintrust/tests: Add a basic CryptCATOpen test.
2009-05-19 15:24:56 +02:00
Detlef Riekenberg
24340287fd
wintrust/tests: Do not test GetLastError on success.
2009-04-09 11:19:09 +02:00
Detlef Riekenberg
49ff2be04e
wintrust/tests: Fix some tests on win9x.
2009-04-09 11:18:58 +02:00
Francois Gouget
2017cf27f3
wintrust/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-25 12:50:04 +01:00
Francois Gouget
d5936f4200
wintrust: Make WINTRUST_ReAlloc() static.
2009-02-18 12:17:31 +01:00
Michael Stefaniuc
03f04e15fe
wintrust/tests: Fix typos in ok() strings.
2009-02-17 12:51:44 +01:00
Juan Lang
ae2c086e6c
wintrust: Fix a few failing tests.
2009-02-16 11:48:10 +01:00
Juan Lang
6407fb7036
wintrust: Fix typo.
2009-02-13 12:59:09 +01:00
Juan Lang
74ac0d30bd
wintrust: Fix a couple tests on a variety of systems.
2009-02-12 13:00:46 +01:00
Juan Lang
22ea6bd611
wintrust: Remove a couple tests that fail on a variety of systems.
2009-02-12 13:00:42 +01:00
Juan Lang
9e07f0de08
wintrust: Don't fail if a registry value doesn't exist.
2009-02-12 13:00:37 +01:00
Francois Gouget
f250f4fa04
Assorted spelling fixes.
2009-02-11 15:56:02 +01:00
Juan Lang
2d0e586425
wintrust: Use GetSystemDirectory rather than GetWindowsDirectory to find the CatRoot directories.
2009-02-04 12:24:57 +01:00
Andrew Talbot
8bfc62cf8b
wintrust: Declare a functions static.
2009-02-02 12:11:58 +01:00
Michael Stefaniuc
0087064c2f
wintrust: Remove superfluous pointer casts.
2009-01-29 14:06:06 +01:00
Paul Vriens
e6676ff50e
wintrust/tests: Fix a test failure on W2K.
2009-01-22 12:03:51 +01:00
Paul Vriens
d18249dda6
wintrust/tests: Check file attributes set by CryptCATAdminAddCatalog.
2009-01-21 10:24:15 +01:00
Paul Vriens
d4cf5a55c6
wintrust/tests: Add some cdf parsing tests.
2009-01-21 10:23:52 +01:00
Hans Leidekker
e361356e8e
wintrust: Set system attribute on the target catalog file in CryptCATAdminAddCatalog.
2009-01-21 10:23:24 +01:00
Alexandre Julliard
e098f427b4
wintrust/tests: Clean up temp files after test.
2009-01-19 15:45:33 +01:00
Paul Vriens
2c9a41a4e4
wintrust/tests: Add some tests that creates catalog files.
2009-01-19 14:20:29 +01:00