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
ba7eebfd
Commit
ba7eebfd
authored
Feb 11, 2013
by
Juan Lang
Committed by
Alexandre Julliard
Feb 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Use add_usage_to_oid correctly.
Spotted by Marcus Meissner and Coverity.
parent
b8f072e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.c
dlls/cryptui/main.c
+3
-3
No files found.
dlls/cryptui/main.c
View file @
ba7eebfd
...
...
@@ -295,7 +295,7 @@ static CERT_ENHKEY_USAGE *convert_usages_str_to_usage(LPSTR usageStr)
{
if
(
comma
)
*
comma
=
0
;
add_oid_to_usage
(
usage
,
ptr
);
usage
=
add_oid_to_usage
(
usage
,
ptr
);
}
}
return
usage
;
...
...
@@ -323,7 +323,7 @@ static CERT_ENHKEY_USAGE *create_advanced_filter(void)
{
PCCRYPT_OID_INFO
*
ptr
;
for
(
ptr
=
usages
;
*
ptr
;
ptr
++
)
for
(
ptr
=
usages
;
advancedUsage
&&
*
ptr
;
ptr
++
)
{
DWORD
i
;
BOOL
disabled
=
FALSE
;
...
...
@@ -334,7 +334,7 @@ static CERT_ENHKEY_USAGE *create_advanced_filter(void)
(
*
ptr
)
->
pszOID
))
disabled
=
TRUE
;
if
(
!
disabled
)
add_oid_to_usage
(
advancedUsage
,
ad
vancedUsage
=
ad
d_oid_to_usage
(
advancedUsage
,
(
LPSTR
)(
*
ptr
)
->
pszOID
);
}
/* The individual strings are pointers to disabledUsagesStr,
...
...
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