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
44e7d7b6
Commit
44e7d7b6
authored
Jan 29, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Move test for duplicating a NULL cert to existing function.
parent
13ff441a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
cert.c
dlls/crypt32/tests/cert.c
+4
-11
No files found.
dlls/crypt32/tests/cert.c
View file @
44e7d7b6
...
...
@@ -662,6 +662,10 @@ static void testDupCert(void)
CertFreeCertificateContext
(
context
);
}
CertCloseStore
(
store
,
0
);
SetLastError
(
0xdeadbeef
);
context
=
CertDuplicateCertificateContext
(
NULL
);
ok
(
context
==
NULL
,
"Expected context to be NULL
\n
"
);
}
static
BYTE
subjectName3
[]
=
{
0x30
,
0x15
,
0x31
,
0x13
,
0x30
,
0x11
,
0x06
,
...
...
@@ -3136,16 +3140,6 @@ static void testGetPublicKeyLength(void)
ok
(
ret
==
56
,
"Expected length 56, got %d
\n
"
,
ret
);
}
static
void
testCertDuplicateCertificateContext
(
void
)
{
PCCERT_CONTEXT
context
;
SetLastError
(
0xdeadbeef
);
context
=
CertDuplicateCertificateContext
(
NULL
);
ok
(
context
==
NULL
,
"Expected context to be NULL
\n
"
);
}
START_TEST
(
cert
)
{
init_function_pointers
();
...
...
@@ -3173,5 +3167,4 @@ START_TEST(cert)
testVerifyRevocation
();
testAcquireCertPrivateKey
();
testGetPublicKeyLength
();
testCertDuplicateCertificateContext
();
}
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