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
9af95b32
Commit
9af95b32
authored
Jun 11, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Use error dialog for ERROR_INTERNET_SEC_CERT_REV_FAILED error if…
urlmon: Use error dialog for ERROR_INTERNET_SEC_CERT_REV_FAILED error if IHttpSecurity returns S_FALSE.
parent
f241014f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
http.c
dlls/urlmon/http.c
+7
-5
No files found.
dlls/urlmon/http.c
View file @
9af95b32
...
...
@@ -129,6 +129,8 @@ static HRESULT handle_http_error(HttpProtocol *This, DWORD error)
DWORD
res
;
HRESULT
hres
;
TRACE
(
"(%p %u)
\n
"
,
This
,
error
);
switch
(
error
)
{
case
ERROR_INTERNET_SEC_CERT_DATE_INVALID
:
case
ERROR_INTERNET_SEC_CERT_CN_INVALID
:
...
...
@@ -162,6 +164,8 @@ static HRESULT handle_http_error(HttpProtocol *This, DWORD error)
hres
=
IHttpSecurity_OnSecurityProblem
(
http_security
,
error
);
IHttpSecurity_Release
(
http_security
);
TRACE
(
"OnSecurityProblem returned %08x
\n
"
,
hres
);
if
(
hres
!=
S_FALSE
)
{
BOOL
res
=
FALSE
;
...
...
@@ -195,15 +199,13 @@ static HRESULT handle_http_error(HttpProtocol *This, DWORD error)
switch
(
error
)
{
case
ERROR_INTERNET_SEC_CERT_REV_FAILED
:
if
(
hres
==
S_FALSE
)
{
hres
=
internet_error_to_hres
(
error
);
}
else
{
if
(
hres
!=
S_FALSE
)
{
/* Silently ignore the error. We will get more detailed error from wininet anyway. */
set_security_flag
(
This
,
SECURITY_FLAG_IGNORE_REVOCATION
);
hres
=
RPC_E_RETRY
;
break
;
}
break
;
/* fallthrough */
default:
hres
=
IServiceProvider_QueryService
(
serv_prov
,
&
IID_IWindowForBindingUI
,
&
IID_IWindowForBindingUI
,
(
void
**
)
&
wfb_ui
);
if
(
SUCCEEDED
(
hres
))
{
...
...
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