Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9df1f2fa
Commit
9df1f2fa
authored
Oct 31, 2014
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Remove dead assignments in cert.c (Cppcheck).
parent
47554b8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
cert.c
dlls/crypt32/cert.c
+3
-4
No files found.
dlls/crypt32/cert.c
View file @
9df1f2fa
...
@@ -984,7 +984,7 @@ static BOOL container_matches_cert(PCCERT_CONTEXT pCert, LPCSTR container,
...
@@ -984,7 +984,7 @@ static BOOL container_matches_cert(PCCERT_CONTEXT pCert, LPCSTR container,
{
{
CRYPT_KEY_PROV_INFO
copy
;
CRYPT_KEY_PROV_INFO
copy
;
WCHAR
containerW
[
MAX_PATH
];
WCHAR
containerW
[
MAX_PATH
];
BOOL
matches
=
FALSE
;
BOOL
matches
;
MultiByteToWideChar
(
CP_ACP
,
0
,
container
,
-
1
,
MultiByteToWideChar
(
CP_ACP
,
0
,
container
,
-
1
,
containerW
,
sizeof
(
containerW
)
/
sizeof
(
containerW
[
0
]));
containerW
,
sizeof
(
containerW
)
/
sizeof
(
containerW
[
0
]));
...
@@ -1142,7 +1142,7 @@ static BOOL cert_prov_info_matches_cert(PCCERT_CONTEXT pCert)
...
@@ -1142,7 +1142,7 @@ static BOOL cert_prov_info_matches_cert(PCCERT_CONTEXT pCert)
BOOL
WINAPI
CryptFindCertificateKeyProvInfo
(
PCCERT_CONTEXT
pCert
,
BOOL
WINAPI
CryptFindCertificateKeyProvInfo
(
PCCERT_CONTEXT
pCert
,
DWORD
dwFlags
,
void
*
pvReserved
)
DWORD
dwFlags
,
void
*
pvReserved
)
{
{
BOOL
matches
=
FALSE
;
BOOL
matches
;
TRACE
(
"(%p, %08x, %p)
\n
"
,
pCert
,
dwFlags
,
pvReserved
);
TRACE
(
"(%p, %08x, %p)
\n
"
,
pCert
,
dwFlags
,
pvReserved
);
...
@@ -2887,7 +2887,7 @@ static void CRYPT_SetBitInField(struct BitField *field, DWORD bit)
...
@@ -2887,7 +2887,7 @@ static void CRYPT_SetBitInField(struct BitField *field, DWORD bit)
static
BOOL
CRYPT_IsBitInFieldSet
(
const
struct
BitField
*
field
,
DWORD
bit
)
static
BOOL
CRYPT_IsBitInFieldSet
(
const
struct
BitField
*
field
,
DWORD
bit
)
{
{
BOOL
set
=
FALSE
;
BOOL
set
;
DWORD
indexIndex
=
bit
/
BITS_PER_DWORD
;
DWORD
indexIndex
=
bit
/
BITS_PER_DWORD
;
assert
(
field
->
cIndexes
);
assert
(
field
->
cIndexes
);
...
@@ -3099,7 +3099,6 @@ static void CertContext_SetKeyProvInfo(PCCERT_CONTEXT context,
...
@@ -3099,7 +3099,6 @@ static void CertContext_SetKeyProvInfo(PCCERT_CONTEXT context,
CryptMemFree
(
szProvider
);
CryptMemFree
(
szProvider
);
}
}
}
}
size
=
sizeof
(
info
.
dwKeySpec
);
/* in case no CRYPT_KEY_PROV_INFO given,
/* in case no CRYPT_KEY_PROV_INFO given,
* we always use AT_SIGNATURE key spec
* we always use AT_SIGNATURE key spec
*/
*/
...
...
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