Signed-off-by: Alex Henrie alexhenrie24@gmail.com --- In addition to making the tests valid, this fixes an intermittent crash on Windows 10 when funcs.psUIpfns happens to be initialized with garbage.
dlls/wintrust/tests/register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wintrust/tests/register.c b/dlls/wintrust/tests/register.c index 42c5de68b3..32c8782749 100644 --- a/dlls/wintrust/tests/register.c +++ b/dlls/wintrust/tests/register.c @@ -224,7 +224,7 @@ static void test_AddDefaultForUsage(void) static void test_LoadFunctionPointers(void) { BOOL ret; - CRYPT_PROVIDER_FUNCTIONS funcs; + CRYPT_PROVIDER_FUNCTIONS funcs = {0}; GUID action = WINTRUST_ACTION_GENERIC_VERIFY_V2;
if (!pWintrustLoadFunctionPointers)