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
2ef06760
Commit
2ef06760
authored
Jun 01, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Set correct security flags in InternetErrorDlg for ERROR_INTERNET_SEC_CERT_ERRORS.
parent
0d82c9a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
dialogs.c
dlls/wininet/dialogs.c
+6
-7
No files found.
dlls/wininet/dialogs.c
View file @
2ef06760
...
...
@@ -539,13 +539,12 @@ static INT_PTR WINAPI WININET_InvalidCertificateDialog(
flags
|=
SECURITY_FLAG_IGNORE_CERT_CN_INVALID
;
break
;
case
ERROR_INTERNET_SEC_CERT_ERRORS
:
FIXME
(
"Should only add ignore flags as needed.
\n
"
);
flags
|=
SECURITY_FLAG_IGNORE_CERT_CN_INVALID
|
SECURITY_FLAG_IGNORE_CERT_DATE_INVALID
|
SECURITY_FLAG_IGNORE_UNKNOWN_CA
;
/* FIXME: ERROR_INTERNET_SEC_CERT_ERRORS also
* seems to set the corresponding DLG_* flags.
*/
if
(
flags
&
_SECURITY_FLAG_CERT_REV_FAILED
)
flags
|=
SECURITY_FLAG_IGNORE_UNKNOWN_CA
;
if
(
flags
&
_SECURITY_FLAG_CERT_INVALID_CN
)
flags
|=
SECURITY_FLAG_IGNORE_CERT_CN_INVALID
;
if
(
flags
&
_SECURITY_FLAG_CERT_INVALID_DATE
)
flags
|=
SECURITY_FLAG_IGNORE_CERT_DATE_INVALID
;
break
;
}
res
=
InternetSetOptionW
(
params
->
hRequest
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
size
);
...
...
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