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
a8baf4d3
Commit
a8baf4d3
authored
Aug 05, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Add stub implementations of CryptProtectMemory and CryptUnprotectMemory.
parent
d669e745
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
crypt32.spec
dlls/crypt32/crypt32.spec
+2
-0
main.c
dlls/crypt32/main.c
+12
-0
No files found.
dlls/crypt32/crypt32.spec
View file @
a8baf4d3
...
...
@@ -163,6 +163,7 @@
@ stub CryptMsgVerifyCountersignatureEncoded
@ stdcall CryptMsgVerifyCountersignatureEncodedEx(ptr long ptr long ptr long long ptr long ptr)
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
@ stdcall CryptProtectMemory(ptr long long)
@ stdcall CryptQueryObject(long ptr long long long ptr ptr ptr ptr ptr ptr)
@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
@ stdcall CryptRegisterOIDFunction(long str str wstr str)
...
...
@@ -186,6 +187,7 @@
@ stdcall CryptSignMessage(ptr long long ptr ptr ptr ptr)
@ stub CryptSignMessageWithKey
@ stdcall CryptUnprotectData(ptr ptr ptr ptr ptr long ptr)
@ stdcall CryptUnprotectMemory(ptr long long)
@ stdcall CryptUnregisterDefaultOIDFunction(long str wstr)
@ stdcall CryptUnregisterOIDFunction(long str str)
@ stub CryptUnregisterOIDInfo
...
...
dlls/crypt32/main.c
View file @
a8baf4d3
...
...
@@ -250,3 +250,15 @@ ASN1encoding_t WINAPI I_CryptGetAsn1Encoder(HCRYPTASN1MODULE x)
FIXME
(
"(%08x): stub
\n
"
,
x
);
return
NULL
;
}
BOOL
WINAPI
CryptProtectMemory
(
void
*
data
,
DWORD
len
,
DWORD
flags
)
{
FIXME
(
"(%p %u %08x): stub
\n
"
,
data
,
len
,
flags
);
return
TRUE
;
}
BOOL
WINAPI
CryptUnprotectMemory
(
void
*
data
,
DWORD
len
,
DWORD
flags
)
{
FIXME
(
"(%p %u %08x): stub
\n
"
,
data
,
len
,
flags
);
return
TRUE
;
}
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