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
afc50ce3
Commit
afc50ce3
authored
Aug 16, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Remove some unnecessary casts.
parent
f68036ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
store.c
dlls/crypt32/store.c
+5
-6
No files found.
dlls/crypt32/store.c
View file @
afc50ce3
...
...
@@ -722,7 +722,7 @@ static BOOL CRYPT_ProvAddCert(PWINECRYPT_CERTSTORE store, void *cert,
if
(
toReplace
)
ret
=
ps
->
memStore
->
certs
.
addContext
(
ps
->
memStore
,
cert
,
toReplace
,
(
const
void
**
)
ppStoreContext
);
ppStoreContext
);
else
{
ret
=
TRUE
;
...
...
@@ -731,7 +731,7 @@ static BOOL CRYPT_ProvAddCert(PWINECRYPT_CERTSTORE store, void *cert,
CERT_STORE_PROV_WRITE_ADD_FLAG
);
if
(
ret
)
ret
=
ps
->
memStore
->
certs
.
addContext
(
ps
->
memStore
,
cert
,
NULL
,
(
const
void
**
)
ppStoreContext
);
ppStoreContext
);
}
/* dirty trick: replace the returned context's hCertStore with
* store.
...
...
@@ -781,7 +781,7 @@ static BOOL CRYPT_ProvAddCRL(PWINECRYPT_CERTSTORE store, void *crl,
if
(
toReplace
)
ret
=
ps
->
memStore
->
crls
.
addContext
(
ps
->
memStore
,
crl
,
toReplace
,
(
const
void
**
)
ppStoreContext
);
ppStoreContext
);
else
{
if
(
ps
->
hdr
.
dwOpenFlags
&
CERT_STORE_READONLY_FLAG
)
...
...
@@ -797,7 +797,7 @@ static BOOL CRYPT_ProvAddCRL(PWINECRYPT_CERTSTORE store, void *crl,
CERT_STORE_PROV_WRITE_ADD_FLAG
);
if
(
ret
)
ret
=
ps
->
memStore
->
crls
.
addContext
(
ps
->
memStore
,
crl
,
NULL
,
(
const
void
**
)
ppStoreContext
);
ppStoreContext
);
}
}
/* dirty trick: replace the returned context's hCertStore with
...
...
@@ -856,8 +856,7 @@ static BOOL WINAPI CRYPT_ProvControl(HCERTSTORE hCertStore, DWORD dwFlags,
static
PWINECRYPT_CERTSTORE
CRYPT_ProvCreateStore
(
HCRYPTPROV
hCryptProv
,
DWORD
dwFlags
,
PWINECRYPT_CERTSTORE
memStore
,
const
CERT_STORE_PROV_INFO
*
pProvInfo
)
{
PWINE_PROVIDERSTORE
ret
=
(
PWINE_PROVIDERSTORE
)
CryptMemAlloc
(
sizeof
(
WINE_PROVIDERSTORE
));
PWINE_PROVIDERSTORE
ret
=
CryptMemAlloc
(
sizeof
(
WINE_PROVIDERSTORE
));
if
(
ret
)
{
...
...
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