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
165d3808
Commit
165d3808
authored
Dec 01, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptnet: Change guard variable to simplify loop.
parent
4729cdd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
cryptnet_main.c
dlls/cryptnet/cryptnet_main.c
+4
-5
No files found.
dlls/cryptnet/cryptnet_main.c
View file @
165d3808
...
...
@@ -1580,7 +1580,9 @@ static DWORD verify_cert_revocation(PCCERT_CONTEXT cert, DWORD index,
}
else
endTime
=
timeout
=
0
;
for
(
j
=
0
;
ret
&&
j
<
urlArray
->
cUrl
;
j
++
)
if
(
!
ret
)
error
=
GetLastError
();
for
(
j
=
0
;
!
error
&&
j
<
urlArray
->
cUrl
;
j
++
)
{
PCCRL_CONTEXT
crl
;
...
...
@@ -1593,7 +1595,6 @@ static DWORD verify_cert_revocation(PCCERT_CONTEXT cert, DWORD index,
{
/* The CRL isn't time valid */
error
=
CRYPT_E_NO_REVOCATION_CHECK
;
ret
=
FALSE
;
}
else
{
...
...
@@ -1604,10 +1605,9 @@ static DWORD verify_cert_revocation(PCCERT_CONTEXT cert, DWORD index,
{
error
=
CRYPT_E_REVOKED
;
pRevStatus
->
dwIndex
=
index
;
ret
=
FALSE
;
}
}
if
(
ret
&&
timeout
)
if
(
!
error
&&
timeout
)
{
DWORD
time
=
GetTickCount
();
...
...
@@ -1615,7 +1615,6 @@ static DWORD verify_cert_revocation(PCCERT_CONTEXT cert, DWORD index,
{
error
=
ERROR_TIMEOUT
;
pRevStatus
->
dwIndex
=
index
;
ret
=
FALSE
;
}
else
timeout
=
endTime
-
time
;
...
...
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