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
82403950
Commit
82403950
authored
Oct 25, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Oct 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Remove a test because of a Windows 2003 SP1 bug.
parent
e2f1f39b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
cert.c
dlls/crypt32/tests/cert.c
+4
-10
No files found.
dlls/crypt32/tests/cert.c
View file @
82403950
...
...
@@ -1374,17 +1374,11 @@ static void testGetIssuerCert(void)
flags
);
if
(
parent
)
CertFreeCertificateContext
(
parent
);
/* Now check just the time */
flags
=
CERT_STORE_TIME_VALIDITY_FLAG
;
parent
=
CertGetIssuerCertificateFromStore
(
store
,
child
,
NULL
,
&
flags
);
ok
(
parent
!=
NULL
,
"CertGetIssuerCertificateFromStore failed: %08x
\n
"
,
GetLastError
());
/* Oops: the child is not expired, so the time validity check actually
* succeeds, even though the signing cert is expired.
/* Checking time validity is not productive, because while most Windows
* versions return 0 (time valid) because the child is not expired,
* Windows 2003 SP1 returns that it is expired. Thus the range of
* possibilities is covered, and a test verifies nothing.
*/
ok
(
!
flags
,
"Expected check to succeed, got %08x
\n
"
,
flags
);
if
(
parent
)
CertFreeCertificateContext
(
parent
);
CertFreeCertificateContext
(
child
);
CertCloseStore
(
store
,
0
);
...
...
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