Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0e840107
Commit
0e840107
authored
Mar 22, 2019
by
Sebastian Lackner
Committed by
Alexandre Julliard
Mar 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Add some additional tests.
Signed-off-by:
Vijay Kiran Kamuju
<
infyquest@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eaf68e99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
softpub.c
dlls/wintrust/tests/softpub.c
+20
-0
No files found.
dlls/wintrust/tests/softpub.c
View file @
0e840107
...
...
@@ -1150,6 +1150,16 @@ static void test_wintrust_digest(void)
{
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
)
},
{
SelfSignedFile32
+
19
+
sizeof
(
Dummy
),
sizeof
(
SelfSignedFile32
)
-
19
-
sizeof
(
Dummy
)
}},
...
...
@@ -1170,6 +1180,16 @@ static void test_wintrust_digest(void)
{
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
)
},
{
SelfSignedFile64
+
19
+
sizeof
(
Dummy
),
sizeof
(
SelfSignedFile64
)
-
19
-
sizeof
(
Dummy
)
}},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment