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
85efd02f
Commit
85efd02f
authored
Oct 03, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Oct 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Copy time to verify from cert info.
parent
8be6c6f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
softpub.c
dlls/wintrust/softpub.c
+13
-1
No files found.
dlls/wintrust/softpub.c
View file @
85efd02f
...
...
@@ -276,7 +276,19 @@ HRESULT WINAPI SoftpubLoadMessage(CRYPT_PROVIDER_DATA *data)
CRYPT_PROVIDER_SGNR
signer
=
{
sizeof
(
signer
),
{
0
}
};
DWORD
i
;
/* Add empty signer, so we can add a cert to it */
/* Add a signer with nothing but the time to verify, so we can
* add a cert to it
*/
if
(
data
->
pWintrustData
->
u
.
pCert
->
psftVerifyAsOf
)
memcpy
(
&
data
->
sftSystemTime
,
&
signer
.
sftVerifyAsOf
,
sizeof
(
FILETIME
));
else
{
SYSTEMTIME
sysTime
;
GetSystemTime
(
&
sysTime
);
SystemTimeToFileTime
(
&
sysTime
,
&
signer
.
sftVerifyAsOf
);
}
ret
=
data
->
psPfns
->
pfnAddSgnr2Chain
(
data
,
FALSE
,
0
,
&
signer
);
if
(
!
ret
)
goto
error
;
...
...
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