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
5922150e
Commit
5922150e
authored
Nov 12, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Nov 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix indenting for szOID_CRL_DIST_POINTS.
parent
ea81720f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
object.c
dlls/crypt32/object.c
+12
-3
No files found.
dlls/crypt32/object.c
View file @
5922150e
...
...
@@ -1539,13 +1539,15 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType,
CRL_DIST_POINT_NO_NAME
)
{
bytesNeeded
+=
strlenW
(
distPointName
)
*
sizeof
(
WCHAR
);
bytesNeeded
+=
strlenW
(
colon
)
*
sizeof
(
WCHAR
);
bytesNeeded
+=
strlenW
(
nameSep
)
*
sizeof
(
WCHAR
);
if
(
distPoint
->
DistPointName
.
dwDistPointNameChoice
==
CRL_DIST_POINT_FULL_NAME
)
bytesNeeded
+=
strlenW
(
fullName
)
*
sizeof
(
WCHAR
);
else
bytesNeeded
+=
strlenW
(
rdnName
)
*
sizeof
(
WCHAR
);
bytesNeeded
+=
strlenW
(
nameSep
)
*
sizeof
(
WCHAR
);
if
(
dwFormatStrType
&
CRYPT_FORMAT_STR_MULTI_LINE
)
bytesNeeded
+=
2
*
strlenW
(
indent
)
*
sizeof
(
WCHAR
);
/* The indent level (3) is higher than when used as the issuer,
* because the name is subordinate to the name type (full vs.
* RDN.)
...
...
@@ -1648,8 +1650,15 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType,
strcpyW
(
str
,
distPointName
);
str
+=
strlenW
(
distPointName
);
strcpyW
(
str
,
colon
);
str
+=
strlenW
(
colon
);
strcpyW
(
str
,
nameSep
);
str
+=
strlenW
(
nameSep
);
if
(
dwFormatStrType
&
CRYPT_FORMAT_STR_MULTI_LINE
)
{
strcpyW
(
str
,
indent
);
str
+=
strlenW
(
indent
);
strcpyW
(
str
,
indent
);
str
+=
strlenW
(
indent
);
}
if
(
distPoint
->
DistPointName
.
dwDistPointNameChoice
==
CRL_DIST_POINT_FULL_NAME
)
{
...
...
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