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
764b9bef
Commit
764b9bef
authored
Jun 23, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Add a partial implementation of CertCreateContext.
parent
aa05f97f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
cert.c
dlls/crypt32/cert.c
+32
-0
crypt32.spec
dlls/crypt32/crypt32.spec
+1
-0
No files found.
dlls/crypt32/cert.c
View file @
764b9bef
...
@@ -2951,3 +2951,35 @@ BOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType, DWORD dwSubjectType,
...
@@ -2951,3 +2951,35 @@ BOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType, DWORD dwSubjectType,
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
const
void
*
WINAPI
CertCreateContext
(
DWORD
dwContextType
,
DWORD
dwEncodingType
,
const
BYTE
*
pbEncoded
,
DWORD
cbEncoded
,
DWORD
dwFlags
,
PCERT_CREATE_CONTEXT_PARA
pCreatePara
)
{
TRACE
(
"(0x%x, 0x%x, %p, %d, 0x%08x, %p)
\n
"
,
dwContextType
,
dwEncodingType
,
pbEncoded
,
cbEncoded
,
dwFlags
,
pCreatePara
);
if
(
dwFlags
)
{
FIXME
(
"dwFlags 0x%08x not handled
\n
"
,
dwFlags
);
return
NULL
;
}
if
(
pCreatePara
)
{
FIXME
(
"pCreatePara not handled
\n
"
);
return
NULL
;
}
switch
(
dwContextType
)
{
case
CERT_STORE_CERTIFICATE_CONTEXT
:
return
CertCreateCertificateContext
(
dwEncodingType
,
pbEncoded
,
cbEncoded
);
case
CERT_STORE_CRL_CONTEXT
:
return
CertCreateCRLContext
(
dwEncodingType
,
pbEncoded
,
cbEncoded
);
case
CERT_STORE_CTL_CONTEXT
:
return
CertCreateCTLContext
(
dwEncodingType
,
pbEncoded
,
cbEncoded
);
default:
WARN
(
"unknown context type: 0x%x
\n
"
,
dwContextType
);
return
NULL
;
}
}
dlls/crypt32/crypt32.spec
View file @
764b9bef
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
@ stdcall CertCreateCTLContext(long ptr long)
@ stdcall CertCreateCTLContext(long ptr long)
@ stdcall CertCreateCertificateChainEngine(ptr ptr)
@ stdcall CertCreateCertificateChainEngine(ptr ptr)
@ stdcall CertCreateCertificateContext(long ptr long)
@ stdcall CertCreateCertificateContext(long ptr long)
@ stdcall CertCreateContext(long long ptr long long ptr)
@ stdcall CertCreateSelfSignCertificate(long ptr long ptr ptr ptr ptr ptr)
@ stdcall CertCreateSelfSignCertificate(long ptr long ptr ptr ptr ptr ptr)
@ stdcall CertDeleteCRLFromStore(ptr)
@ stdcall CertDeleteCRLFromStore(ptr)
@ stdcall CertDeleteCTLFromStore(ptr)
@ stdcall CertDeleteCTLFromStore(ptr)
...
...
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