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
987d637e
Commit
987d637e
authored
Jun 15, 2022
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptnet: Fall back to online CRL verification if OCSP verification fails.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53136
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53138
parent
f08dcbf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
cryptnet_main.c
dlls/cryptnet/cryptnet_main.c
+6
-2
No files found.
dlls/cryptnet/cryptnet_main.c
View file @
987d637e
...
@@ -2149,12 +2149,16 @@ static DWORD verify_cert_revocation(const CERT_CONTEXT *cert, FILETIME *pTime,
...
@@ -2149,12 +2149,16 @@ static DWORD verify_cert_revocation(const CERT_CONTEXT *cert, FILETIME *pTime,
if
((
ext
=
CertFindExtension
(
szOID_AUTHORITY_INFO_ACCESS
,
cert
->
pCertInfo
->
cExtension
,
cert
->
pCertInfo
->
rgExtension
)))
if
((
ext
=
CertFindExtension
(
szOID_AUTHORITY_INFO_ACCESS
,
cert
->
pCertInfo
->
cExtension
,
cert
->
pCertInfo
->
rgExtension
)))
{
{
error
=
verify_cert_revocation_from_aia_ext
(
&
ext
->
Value
,
cert
,
pTime
,
dwFlags
,
pRevPara
,
pRevStatus
);
error
=
verify_cert_revocation_from_aia_ext
(
&
ext
->
Value
,
cert
,
pTime
,
dwFlags
,
pRevPara
,
pRevStatus
);
TRACE
(
"verify_cert_revocation_from_aia_ext() returned %08lx
\n
"
,
error
);
if
(
error
==
ERROR_SUCCESS
||
error
==
CRYPT_E_REVOKED
)
return
error
;
}
}
else
if
((
ext
=
CertFindExtension
(
szOID_CRL_DIST_POINTS
,
cert
->
pCertInfo
->
cExtension
,
cert
->
pCertInfo
->
rgExtension
)))
if
((
ext
=
CertFindExtension
(
szOID_CRL_DIST_POINTS
,
cert
->
pCertInfo
->
cExtension
,
cert
->
pCertInfo
->
rgExtension
)))
{
{
error
=
verify_cert_revocation_from_dist_points_ext
(
&
ext
->
Value
,
cert
,
pTime
,
dwFlags
,
pRevPara
,
pRevStatus
);
error
=
verify_cert_revocation_from_dist_points_ext
(
&
ext
->
Value
,
cert
,
pTime
,
dwFlags
,
pRevPara
,
pRevStatus
);
TRACE
(
"verify_cert_revocation_from_dist_points_ext() returned %08lx
\n
"
,
error
);
if
(
error
==
ERROR_SUCCESS
||
error
==
CRYPT_E_REVOKED
)
return
error
;
}
}
else
if
(
!
ext
)
{
{
if
(
pRevPara
&&
pRevPara
->
hCrlStore
&&
pRevPara
->
pIssuerCert
)
if
(
pRevPara
&&
pRevPara
->
hCrlStore
&&
pRevPara
->
pIssuerCert
)
{
{
...
...
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