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
699e0a55
Commit
699e0a55
authored
Sep 07, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Translate a lack of open mode flags to OPEN_ALWAYS.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
092cf0a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
crypt.c
dlls/wintrust/crypt.c
+3
-3
No files found.
dlls/wintrust/crypt.c
View file @
699e0a55
...
...
@@ -856,7 +856,7 @@ HANDLE WINAPI CryptCATOpen(WCHAR *filename, DWORD flags, HCRYPTPROV hProv,
{
HANDLE
file
,
hmsg
;
BYTE
*
buffer
=
NULL
;
DWORD
size
,
open_mode
=
OPEN_
EXISTING
;
DWORD
size
,
open_mode
=
OPEN_
ALWAYS
;
struct
cryptcat
*
cc
;
TRACE
(
"filename %s, flags %#x, provider %#lx, version %#x, type %#x
\n
"
,
...
...
@@ -870,8 +870,8 @@ HANDLE WINAPI CryptCATOpen(WCHAR *filename, DWORD flags, HCRYPTPROV hProv,
if
(
!
dwEncodingType
)
dwEncodingType
=
X509_ASN_ENCODING
|
PKCS_7_ASN_ENCODING
;
if
(
flags
&
CRYPTCAT_OPEN_ALWAYS
)
open_mode
=
OPEN_
ALWAYS
;
if
(
flags
==
CRYPTCAT_OPEN_EXISTING
)
open_mode
=
OPEN_
EXISTING
;
if
(
flags
&
CRYPTCAT_OPEN_CREATENEW
)
open_mode
=
CREATE_NEW
;
...
...
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