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
aebb9372
Commit
aebb9372
authored
Aug 29, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Sep 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement CertAddEncodedCTLToStore.
parent
3eb62ad6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
ctl.c
dlls/crypt32/ctl.c
+23
-0
store.c
dlls/crypt32/store.c
+0
-10
No files found.
dlls/crypt32/ctl.c
View file @
aebb9372
...
...
@@ -29,6 +29,29 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
crypt
);
BOOL
WINAPI
CertAddEncodedCTLToStore
(
HCERTSTORE
hCertStore
,
DWORD
dwMsgAndCertEncodingType
,
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
,
DWORD
dwAddDisposition
,
PCCTL_CONTEXT
*
ppCtlContext
)
{
PCCTL_CONTEXT
ctl
=
CertCreateCTLContext
(
dwMsgAndCertEncodingType
,
pbCtlEncoded
,
cbCtlEncoded
);
BOOL
ret
;
TRACE
(
"(%p, %08x, %p, %d, %08x, %p)
\n
"
,
hCertStore
,
dwMsgAndCertEncodingType
,
pbCtlEncoded
,
cbCtlEncoded
,
dwAddDisposition
,
ppCtlContext
);
if
(
ctl
)
{
ret
=
CertAddCTLContextToStore
(
hCertStore
,
ctl
,
dwAddDisposition
,
ppCtlContext
);
CertFreeCTLContext
(
ctl
);
}
else
ret
=
FALSE
;
return
ret
;
}
PCCTL_CONTEXT
WINAPI
CertCreateCTLContext
(
DWORD
dwMsgAndCertEncodingType
,
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
)
{
...
...
dlls/crypt32/store.c
View file @
aebb9372
...
...
@@ -1043,16 +1043,6 @@ PCCRL_CONTEXT WINAPI CertEnumCRLsInStore(HCERTSTORE hCertStore,
return
ret
;
}
BOOL
WINAPI
CertAddEncodedCTLToStore
(
HCERTSTORE
hCertStore
,
DWORD
dwMsgAndCertEncodingType
,
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
,
DWORD
dwAddDisposition
,
PCCTL_CONTEXT
*
ppCtlContext
)
{
FIXME
(
"(%p, %08x, %p, %d, %08x, %p): stub
\n
"
,
hCertStore
,
dwMsgAndCertEncodingType
,
pbCtlEncoded
,
cbCtlEncoded
,
dwAddDisposition
,
ppCtlContext
);
return
FALSE
;
}
BOOL
WINAPI
CertAddCTLContextToStore
(
HCERTSTORE
hCertStore
,
PCCTL_CONTEXT
pCtlContext
,
DWORD
dwAddDisposition
,
PCCTL_CONTEXT
*
ppStoreContext
)
...
...
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