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
9a1e6aae
Commit
9a1e6aae
authored
May 31, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Write-strings warning fix.
parent
baea6498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
cert.c
dlls/crypt32/tests/cert.c
+6
-3
No files found.
dlls/crypt32/tests/cert.c
View file @
9a1e6aae
...
...
@@ -754,6 +754,9 @@ static void testComparePublicKeyInfo(void)
{
BOOL
ret
;
CERT_PUBLIC_KEY_INFO
info1
=
{
{
0
}
},
info2
=
{
{
0
}
};
static
CHAR
oid_rsa_rsa
[]
=
szOID_RSA_RSA
;
static
CHAR
oid_rsa_sha1rsa
[]
=
szOID_RSA_SHA1RSA
;
static
CHAR
oid_x957_dsa
[]
=
szOID_X957_DSA
;
static
const
BYTE
bits1
[]
=
{
1
,
0
};
static
const
BYTE
bits2
[]
=
{
0
};
static
const
BYTE
bits3
[]
=
{
1
};
...
...
@@ -765,11 +768,11 @@ static void testComparePublicKeyInfo(void)
ret
=
CertComparePublicKeyInfo
(
0
,
&
info1
,
&
info2
);
ok
(
ret
,
"CertComparePublicKeyInfo failed: %08lx
\n
"
,
GetLastError
());
/* Different OIDs appear to compare */
info1
.
Algorithm
.
pszObjId
=
szOID_RSA_RSA
;
info2
.
Algorithm
.
pszObjId
=
szOID_RSA_SHA1RSA
;
info1
.
Algorithm
.
pszObjId
=
oid_rsa_rsa
;
info2
.
Algorithm
.
pszObjId
=
oid_rsa_sha1rsa
;
ret
=
CertComparePublicKeyInfo
(
0
,
&
info1
,
&
info2
);
ok
(
ret
,
"CertComparePublicKeyInfo failed: %08lx
\n
"
,
GetLastError
());
info2
.
Algorithm
.
pszObjId
=
szOID_X957_DSA
;
info2
.
Algorithm
.
pszObjId
=
oid_x957_dsa
;
ret
=
CertComparePublicKeyInfo
(
0
,
&
info1
,
&
info2
);
ok
(
ret
,
"CertComparePublicKeyInfo failed: %08lx
\n
"
,
GetLastError
());
info1
.
PublicKey
.
cbData
=
sizeof
(
bits1
);
...
...
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