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
f3404064
Commit
f3404064
authored
Nov 25, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Use the Unix call helpers.
parent
a4f8d28d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
crypt32_private.h
dlls/crypt32/crypt32_private.h
+1
-3
main.c
dlls/crypt32/main.c
+1
-3
No files found.
dlls/crypt32/crypt32_private.h
View file @
f3404064
...
...
@@ -508,8 +508,6 @@ enum unix_funcs
unix_enum_root_certs
,
};
extern
unixlib_handle_t
crypt32_handle
;
#define CRYPT32_CALL( func, params ) __wine_unix_call( crypt32_handle, unix_ ## func, params )
#define CRYPT32_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
#endif
dlls/crypt32/main.c
View file @
f3404064
...
...
@@ -35,7 +35,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(crypt);
static
HCRYPTPROV
hDefProv
;
HINSTANCE
hInstance
;
unixlib_handle_t
crypt32_handle
=
0
;
static
CRITICAL_SECTION
prov_param_cs
;
static
CRITICAL_SECTION_DEBUG
prov_param_cs_debug
=
...
...
@@ -56,8 +55,7 @@ BOOL WINAPI DllMain(HINSTANCE hInst, DWORD reason, PVOID pvReserved)
DisableThreadLibraryCalls
(
hInst
);
init_empty_store
();
crypt_oid_init
();
if
(
NtQueryVirtualMemory
(
GetCurrentProcess
(),
hInst
,
MemoryWineUnixFuncs
,
&
crypt32_handle
,
sizeof
(
crypt32_handle
),
NULL
))
if
(
__wine_init_unix_call
())
return
FALSE
;
CRYPT32_CALL
(
process_attach
,
NULL
);
break
;
...
...
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