Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
cf904c2b
Commit
cf904c2b
authored
Oct 18, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Oct 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Use GetSystemTimeAsFileTime rather than GetSystemTime/SystemTimeToFileTime.
parent
abc2aec8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
cert.c
dlls/crypt32/cert.c
+1
-4
crl.c
dlls/crypt32/crl.c
+1
-4
No files found.
dlls/crypt32/cert.c
View file @
cf904c2b
...
@@ -1305,10 +1305,7 @@ LONG WINAPI CertVerifyTimeValidity(LPFILETIME pTimeToVerify,
...
@@ -1305,10 +1305,7 @@ LONG WINAPI CertVerifyTimeValidity(LPFILETIME pTimeToVerify,
if
(
!
pTimeToVerify
)
if
(
!
pTimeToVerify
)
{
{
SYSTEMTIME
sysTime
;
GetSystemTimeAsFileTime
(
&
fileTime
);
GetSystemTime
(
&
sysTime
);
SystemTimeToFileTime
(
&
sysTime
,
&
fileTime
);
pTimeToVerify
=
&
fileTime
;
pTimeToVerify
=
&
fileTime
;
}
}
if
((
ret
=
CompareFileTime
(
pTimeToVerify
,
&
pCertInfo
->
NotBefore
))
>=
0
)
if
((
ret
=
CompareFileTime
(
pTimeToVerify
,
&
pCertInfo
->
NotBefore
))
>=
0
)
...
...
dlls/crypt32/crl.c
View file @
cf904c2b
...
@@ -519,10 +519,7 @@ LONG WINAPI CertVerifyCRLTimeValidity(LPFILETIME pTimeToVerify,
...
@@ -519,10 +519,7 @@ LONG WINAPI CertVerifyCRLTimeValidity(LPFILETIME pTimeToVerify,
if
(
!
pTimeToVerify
)
if
(
!
pTimeToVerify
)
{
{
SYSTEMTIME
sysTime
;
GetSystemTimeAsFileTime
(
&
fileTime
);
GetSystemTime
(
&
sysTime
);
SystemTimeToFileTime
(
&
sysTime
,
&
fileTime
);
pTimeToVerify
=
&
fileTime
;
pTimeToVerify
=
&
fileTime
;
}
}
if
((
ret
=
CompareFileTime
(
pTimeToVerify
,
&
pCrlInfo
->
ThisUpdate
))
>=
0
)
if
((
ret
=
CompareFileTime
(
pTimeToVerify
,
&
pCrlInfo
->
ThisUpdate
))
>=
0
)
...
...
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