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
abc2aec8
Commit
abc2aec8
authored
Oct 18, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Oct 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Use I_CertUpdateStore in registry stores.
parent
4d203fe9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
crypt32_private.h
dlls/crypt32/crypt32_private.h
+0
-1
regstore.c
dlls/crypt32/regstore.c
+8
-2
store.c
dlls/crypt32/store.c
+1
-1
No files found.
dlls/crypt32/crypt32_private.h
View file @
abc2aec8
...
...
@@ -233,7 +233,6 @@ typedef struct WINE_CRYPTCERTSTORE
void
CRYPT_InitStore
(
WINECRYPT_CERTSTORE
*
store
,
DWORD
dwFlags
,
CertStoreType
type
);
void
CRYPT_FreeStore
(
PWINECRYPT_CERTSTORE
store
);
void
CRYPT_EmptyStore
(
HCERTSTORE
store
);
BOOL
WINAPI
I_CertUpdateStore
(
HCERTSTORE
store1
,
HCERTSTORE
store2
,
DWORD
unk0
,
DWORD
unk1
);
...
...
dlls/crypt32/regstore.c
View file @
abc2aec8
...
...
@@ -442,11 +442,17 @@ static BOOL WINAPI CRYPT_RegControl(HCERTSTORE hCertStore, DWORD dwFlags,
switch
(
dwCtrlType
)
{
case
CERT_STORE_CTRL_RESYNC
:
{
HCERTSTORE
memStore
=
CertOpenStore
(
CERT_STORE_PROV_MEMORY
,
0
,
0
,
CERT_STORE_CREATE_NEW_FLAG
,
NULL
);
CRYPT_RegFlushStore
(
store
,
FALSE
);
CRYPT_EmptyStore
(
store
->
memStore
);
CRYPT_RegReadFromReg
(
store
->
key
,
store
->
memStore
);
CRYPT_RegReadFromReg
(
store
->
key
,
memStore
);
I_CertUpdateStore
(
store
->
memStore
,
memStore
,
0
,
0
);
CertCloseStore
(
memStore
,
0
);
ret
=
TRUE
;
break
;
}
case
CERT_STORE_CTRL_COMMIT
:
ret
=
CRYPT_RegFlushStore
(
store
,
dwFlags
&
CERT_STORE_CTRL_COMMIT_FORCE_FLAG
);
...
...
dlls/crypt32/store.c
View file @
abc2aec8
...
...
@@ -199,7 +199,7 @@ static BOOL CRYPT_MemDeleteCrl(PWINECRYPT_CERTSTORE store, void *pCrlContext)
return
TRUE
;
}
void
CRYPT_EmptyStore
(
HCERTSTORE
store
)
static
void
CRYPT_EmptyStore
(
HCERTSTORE
store
)
{
PCCERT_CONTEXT
cert
;
PCCRL_CONTEXT
crl
;
...
...
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