diff --git a/dlls/wintrust/tests/softpub.c b/dlls/wintrust/tests/softpub.c index c1cb9599e65..5d6d62c9e99 100644 --- a/dlls/wintrust/tests/softpub.c +++ b/dlls/wintrust/tests/softpub.c @@ -1149,6 +1149,16 @@ static void test_wintrust_digest(void) {{ SelfSignedFile32, sizeof(SelfSignedFile32) }}, { CERT_E_CHAINING, TRUE }, { S_OK, FALSE } }, + { + {{ SelfSignedFile32, sizeof(SelfSignedFile32) }, + { Dummy, sizeof(Dummy) }}, + { TRUST_E_NOSIGNATURE, TRUE }, { TRUST_E_NOSIGNATURE, TRUE } + }, + { + {{ Dummy, sizeof(Dummy) }, + { SelfSignedFile32 + sizeof(Dummy), sizeof(SelfSignedFile32) - sizeof(Dummy) }}, + { TRUST_E_SUBJECT_FORM_UNKNOWN, FALSE }, { TRUST_E_NOSIGNATURE, TRUE } + }, { {{ SelfSignedFile32, 19 }, { Dummy, sizeof(Dummy) }, @@ -1169,6 +1179,16 @@ static void test_wintrust_digest(void) {{ SelfSignedFile64, sizeof(SelfSignedFile64) }}, { CERT_E_CHAINING, TRUE }, { S_OK, FALSE } }, + { + {{ SelfSignedFile64, sizeof(SelfSignedFile64) }, + { Dummy, sizeof(Dummy) }}, + { TRUST_E_NOSIGNATURE, TRUE }, { TRUST_E_NOSIGNATURE, TRUE } + }, + { + {{ Dummy, sizeof(Dummy) }, + { SelfSignedFile64 + sizeof(Dummy), sizeof(SelfSignedFile64) - sizeof(Dummy) }}, + { TRUST_E_SUBJECT_FORM_UNKNOWN, FALSE }, { TRUST_E_NOSIGNATURE, TRUE } + }, { {{ SelfSignedFile64, 19 }, { Dummy, sizeof(Dummy) },