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
2fb3d533
Commit
2fb3d533
authored
Sep 28, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Oct 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Correct copying a signer info's attributes.
parent
07979b99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
msg.c
dlls/crypt32/msg.c
+1
-0
No files found.
dlls/crypt32/msg.c
View file @
2fb3d533
...
@@ -1776,6 +1776,7 @@ static inline void CRYPT_CopyAttributes(CRYPT_ATTRIBUTES *out,
...
@@ -1776,6 +1776,7 @@ static inline void CRYPT_CopyAttributes(CRYPT_ATTRIBUTES *out,
if
((
*
nextData
-
(
LPBYTE
)
0
)
%
sizeof
(
DWORD_PTR
))
if
((
*
nextData
-
(
LPBYTE
)
0
)
%
sizeof
(
DWORD_PTR
))
*
nextData
+=
(
*
nextData
-
(
LPBYTE
)
0
)
%
sizeof
(
DWORD_PTR
);
*
nextData
+=
(
*
nextData
-
(
LPBYTE
)
0
)
%
sizeof
(
DWORD_PTR
);
out
->
rgAttr
[
i
].
rgValue
=
(
PCRYPT_DATA_BLOB
)
*
nextData
;
out
->
rgAttr
[
i
].
rgValue
=
(
PCRYPT_DATA_BLOB
)
*
nextData
;
*
nextData
+=
in
->
rgAttr
[
i
].
cValue
*
sizeof
(
CRYPT_DATA_BLOB
);
for
(
j
=
0
;
j
<
in
->
rgAttr
[
i
].
cValue
;
j
++
)
for
(
j
=
0
;
j
<
in
->
rgAttr
[
i
].
cValue
;
j
++
)
CRYPT_CopyBlob
(
&
out
->
rgAttr
[
i
].
rgValue
[
j
],
CRYPT_CopyBlob
(
&
out
->
rgAttr
[
i
].
rgValue
[
j
],
&
in
->
rgAttr
[
i
].
rgValue
[
j
],
nextData
);
&
in
->
rgAttr
[
i
].
rgValue
[
j
],
nextData
);
...
...
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