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
4422a96a
Commit
4422a96a
authored
Oct 25, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Get rid of win9x specific checks.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
926dd780
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
cert.c
dlls/crypt32/tests/cert.c
+2
-6
No files found.
dlls/crypt32/tests/cert.c
View file @
4422a96a
...
...
@@ -3232,15 +3232,11 @@ static void testComparePublicKeyInfo(void)
ret
=
CertComparePublicKeyInfo
(
0
,
&
info1
,
&
info2
);
ok
(
!
ret
,
"CertComparePublicKeyInfo: as raw binary: keys should be unequal
\n
"
);
ret
=
CertComparePublicKeyInfo
(
X509_ASN_ENCODING
,
&
info1
,
&
info2
);
ok
(
ret
||
broken
(
!
ret
),
/* win9x */
"CertComparePublicKeyInfo: as ASN.1 encoded: keys should be equal
\n
"
);
ok
(
ret
,
"CertComparePublicKeyInfo: as ASN.1 encoded: keys should be equal
\n
"
);
info1
.
PublicKey
.
cUnusedBits
=
1
;
info2
.
PublicKey
.
cUnusedBits
=
5
;
ret
=
CertComparePublicKeyInfo
(
X509_ASN_ENCODING
,
&
info1
,
&
info2
);
ok
(
ret
||
broken
(
!
ret
),
/* win9x */
"CertComparePublicKeyInfo: ASN.1 encoding should ignore cUnusedBits
\n
"
);
ok
(
ret
,
"CertComparePublicKeyInfo: ASN.1 encoding should ignore cUnusedBits
\n
"
);
info1
.
PublicKey
.
cUnusedBits
=
0
;
info2
.
PublicKey
.
cUnusedBits
=
0
;
info1
.
PublicKey
.
cbData
--
;
/* kill one byte, make ASN.1 encoded data invalid */
...
...
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