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
d3c565f4
Commit
d3c565f4
authored
Oct 29, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Don't compare the result to itself (PVS-Studio).
parent
6855740a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
encode.c
dlls/crypt32/tests/encode.c
+1
-1
msg.c
dlls/crypt32/tests/msg.c
+2
-2
No files found.
dlls/crypt32/tests/encode.c
View file @
d3c565f4
...
...
@@ -3732,7 +3732,7 @@ static void compareAltNameEntry(const CERT_ALT_NAME_ENTRY *expected,
case
CERT_ALT_NAME_IP_ADDRESS
:
ok
(
U
(
*
got
).
IPAddress
.
cbData
==
U
(
*
expected
).
IPAddress
.
cbData
,
"Unexpected IP address length %d
\n
"
,
U
(
*
got
).
IPAddress
.
cbData
);
ok
(
!
memcmp
(
U
(
*
got
).
IPAddress
.
pbData
,
U
(
*
got
).
IPAddress
.
pbData
,
ok
(
!
memcmp
(
U
(
*
got
).
IPAddress
.
pbData
,
U
(
*
expected
).
IPAddress
.
pbData
,
U
(
*
got
).
IPAddress
.
cbData
),
"Unexpected value
\n
"
);
break
;
}
...
...
dlls/crypt32/tests/msg.c
View file @
d3c565f4
...
...
@@ -2666,12 +2666,12 @@ static void compare_signer_info(const CMSG_SIGNER_INFO *got,
ok
(
got
->
Issuer
.
cbData
==
expected
->
Issuer
.
cbData
,
"Expected issuer size %d, got %d
\n
"
,
expected
->
Issuer
.
cbData
,
got
->
Issuer
.
cbData
);
ok
(
!
memcmp
(
got
->
Issuer
.
pbData
,
got
->
Issuer
.
pbData
,
got
->
Issuer
.
cbData
),
ok
(
!
memcmp
(
got
->
Issuer
.
pbData
,
expected
->
Issuer
.
pbData
,
got
->
Issuer
.
cbData
),
"Unexpected issuer
\n
"
);
ok
(
got
->
SerialNumber
.
cbData
==
expected
->
SerialNumber
.
cbData
,
"Expected serial number size %d, got %d
\n
"
,
expected
->
SerialNumber
.
cbData
,
got
->
SerialNumber
.
cbData
);
ok
(
!
memcmp
(
got
->
SerialNumber
.
pbData
,
got
->
SerialNumber
.
pbData
,
ok
(
!
memcmp
(
got
->
SerialNumber
.
pbData
,
expected
->
SerialNumber
.
pbData
,
got
->
SerialNumber
.
cbData
),
"Unexpected serial number
\n
"
);
/* FIXME: check more things */
}
...
...
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