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
0d82c9a9
Commit
0d82c9a9
authored
Jun 01, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added support for more error codes in handle_http_error.
parent
f5cbc9f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
http.c
dlls/urlmon/http.c
+11
-1
No files found.
dlls/urlmon/http.c
View file @
0d82c9a9
...
...
@@ -103,6 +103,11 @@ static inline HRESULT internet_error_to_hres(DWORD error)
case
ERROR_INTERNET_SEC_CERT_CN_INVALID
:
case
ERROR_INTERNET_INVALID_CA
:
case
ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED
:
case
ERROR_INTERNET_SEC_INVALID_CERT
:
case
ERROR_INTERNET_SEC_CERT_ERRORS
:
case
ERROR_INTERNET_SEC_CERT_REV_FAILED
:
case
ERROR_INTERNET_SEC_CERT_NO_REV
:
case
ERROR_INTERNET_SEC_CERT_REVOKED
:
return
INET_E_INVALID_CERTIFICATE
;
case
ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR
:
case
ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR
:
...
...
@@ -129,9 +134,14 @@ static HRESULT handle_http_error(HttpProtocol *This, DWORD error)
case
ERROR_INTERNET_SEC_CERT_CN_INVALID
:
case
ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR
:
case
ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR
:
case
ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION
:
case
ERROR_INTERNET_INVALID_CA
:
case
ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED
:
case
ERROR_INTERNET_SEC_INVALID_CERT
:
case
ERROR_INTERNET_SEC_CERT_ERRORS
:
case
ERROR_INTERNET_SEC_CERT_REV_FAILED
:
case
ERROR_INTERNET_SEC_CERT_NO_REV
:
case
ERROR_INTERNET_SEC_CERT_REVOKED
:
case
ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION
:
security_problem
=
TRUE
;
break
;
default:
...
...
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