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
b9038be1
Commit
b9038be1
authored
Aug 21, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement CryptGetMessageCertificates.
parent
b6032a41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
crypt32.spec
dlls/crypt32/crypt32.spec
+1
-1
msg.c
dlls/crypt32/msg.c
+13
-0
No files found.
dlls/crypt32/crypt32.spec
View file @
b9038be1
...
...
@@ -122,7 +122,7 @@
@ stub CryptGetAsyncParam
@ stdcall CryptGetDefaultOIDDllList(long long ptr ptr)
@ stdcall CryptGetDefaultOIDFunctionAddress(long long wstr long ptr ptr)
@ st
ub CryptGetMessageCertificates
@ st
dcall CryptGetMessageCertificates(long ptr long ptr long)
@ stub CryptGetMessageSignerCount
@ stdcall CryptGetOIDFunctionAddress(long long str long ptr ptr)
@ stdcall CryptGetOIDFunctionValue(long str str wstr ptr ptr ptr)
...
...
dlls/crypt32/msg.c
View file @
b9038be1
...
...
@@ -2273,3 +2273,16 @@ BOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags,
pvCtrlPara
);
return
msg
->
control
(
hCryptMsg
,
dwFlags
,
dwCtrlType
,
pvCtrlPara
);
}
HCERTSTORE
WINAPI
CryptGetMessageCertificates
(
DWORD
dwMsgAndCertEncodingType
,
HCRYPTPROV_LEGACY
hCryptProv
,
DWORD
dwFlags
,
const
BYTE
*
pbSignedBlob
,
DWORD
cbSignedBlob
)
{
CRYPT_DATA_BLOB
blob
=
{
cbSignedBlob
,
(
LPBYTE
)
pbSignedBlob
};
TRACE
(
"(%08x, %ld, %d08x %p, %d)
\n
"
,
dwMsgAndCertEncodingType
,
hCryptProv
,
dwFlags
,
pbSignedBlob
,
cbSignedBlob
);
return
CertOpenStore
(
CERT_STORE_PROV_PKCS7
,
dwMsgAndCertEncodingType
,
hCryptProv
,
dwFlags
,
&
blob
);
}
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