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
ec1e1b30
Commit
ec1e1b30
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: Add CTLs to the file store.
parent
02784fb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
filestore.c
dlls/crypt32/filestore.c
+22
-2
No files found.
dlls/crypt32/filestore.c
View file @
ec1e1b30
...
...
@@ -88,6 +88,26 @@ static BOOL WINAPI CRYPT_FileDeleteCRL(HCERTSTORE hCertStore,
return
TRUE
;
}
static
BOOL
WINAPI
CRYPT_FileWriteCTL
(
HCERTSTORE
hCertStore
,
PCCTL_CONTEXT
ctl
,
DWORD
dwFlags
)
{
PWINE_FILESTOREINFO
store
=
(
PWINE_FILESTOREINFO
)
hCertStore
;
TRACE
(
"(%p, %p, %d)
\n
"
,
hCertStore
,
ctl
,
dwFlags
);
store
->
dirty
=
TRUE
;
return
TRUE
;
}
static
BOOL
WINAPI
CRYPT_FileDeleteCTL
(
HCERTSTORE
hCertStore
,
PCCTL_CONTEXT
pCtlContext
,
DWORD
dwFlags
)
{
PWINE_FILESTOREINFO
store
=
(
PWINE_FILESTOREINFO
)
hCertStore
;
TRACE
(
"(%p, %p, %08x)
\n
"
,
hCertStore
,
pCtlContext
,
dwFlags
);
store
->
dirty
=
TRUE
;
return
TRUE
;
}
static
BOOL
CRYPT_ReadBlobFromFile
(
HANDLE
file
,
PCERT_BLOB
blob
)
{
BOOL
ret
=
TRUE
;
...
...
@@ -187,8 +207,8 @@ static void *fileProvFuncs[] = {
CRYPT_FileDeleteCRL
,
NULL
,
/* CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC */
NULL
,
/* CERT_STORE_PROV_READ_CTL_FUNC */
NULL
,
/* CERT_STORE_PROV_WRITE_CTL_FUNC */
NULL
,
/* CERT_STORE_PROV_DELETE_CTL_FUNC */
CRYPT_FileWriteCTL
,
CRYPT_FileDeleteCTL
,
NULL
,
/* CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC */
CRYPT_FileControl
,
};
...
...
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