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
8cb97326
Commit
8cb97326
authored
Mar 04, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Remove superfluous pointer casts.
parent
c6be3fea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
main.c
dlls/cryptui/main.c
+2
-3
No files found.
dlls/cryptui/main.c
View file @
8cb97326
...
...
@@ -3236,8 +3236,7 @@ static WCHAR *get_cert_property_as_string(PCCERT_CONTEXT cert, DWORD prop)
name
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cb
);
if
(
name
)
{
if
(
!
CertGetCertificateContextProperty
(
cert
,
prop
,
(
LPBYTE
)
name
,
&
cb
))
if
(
!
CertGetCertificateContextProperty
(
cert
,
prop
,
name
,
&
cb
))
{
HeapFree
(
GetProcessHeap
(),
0
,
name
);
name
=
NULL
;
...
...
@@ -4460,7 +4459,7 @@ static BOOL is_ca_cert(PCCERT_CONTEXT cert, BOOL defaultIfNotSpecified)
if
(
CryptDecodeObjectEx
(
X509_ASN_ENCODING
,
szOID_BASIC_CONSTRAINTS
,
ext
->
Value
.
pbData
,
ext
->
Value
.
cbData
,
CRYPT_DECODE_ALLOC_FLAG
,
NULL
,
(
LPBYTE
)
&
info
,
&
size
))
NULL
,
&
info
,
&
size
))
{
if
(
info
->
SubjectType
.
cbData
==
1
)
isCA
=
info
->
SubjectType
.
pbData
[
0
]
&
CERT_CA_SUBJECT_FLAG
;
...
...
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