Paul Gofman
e7b0b35d57
wintrust: Cache provider functions in WintrustLoadFunctionPointers().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 20:17:27 +02:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Rémi Bernon
0fb7ea9120
wintrust: Don't fail CryptCATOpen on empty file or invalid data.
...
Fixes a regression from 699e0a55ea
,
making "winetricks dotnet30sp1" fail.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49831
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-16 22:32:05 +01:00
Zebediah Figura
3ea7b3d3b9
wintrust: Stub CryptCATPutCatAttrInfo().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:47 +02:00
Zebediah Figura
8161d2924f
wintrust: Stub CryptCATPutAttrInfo().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:41 +02:00
Zebediah Figura
de22b7b334
wintrust: Stub CryptCATPersistStore().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:34 +02:00
Zebediah Figura
63523b55be
wintrust: Stub CryptCATPutMemberInfo().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:29 +02:00
Zebediah Figura
20f6f61212
wintrust: Translate CRYPTCAT_OPEN_CREATENEW to CREATE_ALWAYS.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 09:23:57 +02:00
Zebediah Figura
699e0a55ea
wintrust: Translate a lack of open mode flags to OPEN_ALWAYS.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 09:23:55 +02:00
Zebediah Figura
092cf0a06d
wintrust: Assign the file open mode directly instead of treating it as a bitmask.
...
Found when debugging the "inf2cat" tool from the Windows 10 DDK.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 09:23:52 +02:00
Zebediah Figura
e07539d1ce
wintrust/tests: Add more tests for CryptCATOpen() file modes.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 09:23:50 +02:00
Daniel Lehman
95a80d3585
wintrust: Set last error in WinVerifyTrust.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 08:47:25 +01:00
Sven Baars
55a5818106
wintrust/tests: Initialize cbStruct in the ObjectTrust tests.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 20:01:40 +01:00
Alexandre Julliard
8a281038af
wintrust: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 09:29:13 +02:00
Michael Stefaniuc
70996f49e3
wintrust: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 22:23:41 +02:00
Marko Friedemann
b2e72dd09d
wintrust: Use enhanced crypto provider in VerifyImageHash.
...
Softpub VerifyImageHash uses the default crypto provider and fails for
certificates using SHA256 et al. with NTE_BAD_ALGID (80090008)
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47034
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
Mark Jansen
93ed3356d8
wintrust: Verify image hash in WinVerifyTrust.
...
Includes various improvements by Sebastian Lackner.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Sebastian Lackner
0e84010766
wintrust/tests: Add some additional tests.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 23:09:09 +01:00
Mark Jansen
eaf68e99ba
wintrust/tests: Add tests for WinVerifyTrust.
...
Includes various improvements by Sebastian Lackner <sebastian@fds-team.de>.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 23:08:59 +01:00
Gijs Vermeulen
479c300728
wintrust: Add CryptCATAdminAcquireContext2 stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45998
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 22:57:51 +01:00
Gijs Vermeulen
1c97c96373
wintrust: Update spec file.
...
File version: 10.0.17763.348 (Windows 10).
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 22:57:51 +01:00
Michael Stefaniuc
2b8d9764ea
wintrust: Remove redundant not-NULL checks (coccinellery).
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:27:23 +01:00
Michael Stefaniuc
c77defede1
wintrust: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-19 08:09:19 +02:00
Michael Stefaniuc
6ff4365fb3
wintrust/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:20 +02:00
Alex Henrie
110db9fe1d
wintrust/tests: Initialize structure passed to WintrustLoadFunctionPointers.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:44:20 +01:00
Jactry Zeng
567ad03310
wintrust: Update version to 6.1.7601.23769.
...
Installer of Google drive will check wintrust's version to make sure
Windows security update was installed.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 10:25:57 +01:00
Alexandre Julliard
9369e800c0
wintrust: Increase buffer size to silence a gcc warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-29 15:51:27 +02:00
André Hentschel
f1dfc53ba2
wintrust: Fix CryptCATAdminAcquireContext spec file entry.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:44 +01:00
Hans Leidekker
bdc309b949
wintrust/tests: Disable a test that crashes on 64-bit Windows 10.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:43 +01:00
Huw Davies
7770937a57
wintrust/tests: Zero-init error array to prevent failures on 64-bit.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-20 17:39:44 +01:00
Hans Leidekker
14444fab92
wintrust/tests: Fix test failures on Windows 8.1 and 10.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 14:11:30 +01:00
Huw Davies
efd063f5c5
wintrust/tests: Initialize the pSigState member to prevent Windows 8 and 10 from crashing.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 14:16:54 +01:00
Huw Davies
098aa2be84
wintrust/tests: Remove a test that crashes on Windows 8 amd 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 14:16:53 +01:00
Carlo Bramini
e141d4a1c6
wintrust: Use return value of sprintf() instead of calling strlen().
...
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:09 -06:00
Jacek Caban
fb518192bb
wintrust: Don't close key if RegOpenKeyExW failed.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Sebastian Lackner
f9e5c96e5e
wintrust/tests: Fix test for pfnAddSgnr2Chain.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:26:38 +09:00
Andrey Gusev
6e954bd979
wintrust/tests: Fix a typo in ok() messages.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 12:26:49 +09:00
Francois Gouget
17d1126d03
wintrust: Fix spelling of a variable name.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:11 +09:00
Nikolay Sivov
9b9dd19297
wintrust/tests: Use proper return types when calling provider funcs (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:29 +09:00
Sebastian Lackner
e5e05b971b
wintrust: Create a dummy context to force creation of MachineGuid registry key.
2015-07-31 12:08:45 +02:00
Michael Stefaniuc
971cf70014
wintrust/tests: Remove an unused assignment (PVS-Studio).
2015-01-23 15:33:06 +01:00
André Hentschel
dc4d32953f
wintrust: Remove unused variable (Clang).
2014-12-04 14:03:19 +01:00
Sebastian Lackner
4b7ec82663
wintrust: Reset data->pWintrustData->u.pFile->hFile after closing handle.
2014-12-02 15:03:17 +01:00
Frédéric Delanoy
2ab8729020
Assorted spelling/grammar fixes.
2014-06-20 12:19:31 +02:00
Bruno Jesus
dbdb244d13
wintrust/tests: Fix a memory leak (valgrind).
2014-06-11 16:10:23 +02:00
Huw Davies
f4f01301f0
crypt32: Add a new element to SIP_ADD_NEWPROVIDER.
2014-06-11 13:03:46 +02:00
Alexandre Julliard
6eb922f1d4
wintrust: Remove unnecessary DllMain implementation.
2014-05-15 19:04:49 +02:00
Huw Davies
a27a1214a2
wintrust/tests: Fix failing test on win8.
2014-05-06 19:21:58 +02:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00