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
63a05db4
Commit
63a05db4
authored
Oct 14, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Oct 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Trace time value in addition to address of time value.
parent
b6cd08f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
chain.c
dlls/crypt32/chain.c
+13
-4
No files found.
dlls/crypt32/chain.c
View file @
63a05db4
...
...
@@ -2149,6 +2149,13 @@ static BOOL CRYPT_BuildSimpleChain(const CertificateChainEngine *engine,
return
ret
;
}
static
LPCSTR
debugstr_filetime
(
LPFILETIME
pTime
)
{
if
(
!
pTime
)
return
"(nil)"
;
return
wine_dbg_sprintf
(
"%p (%s)"
,
pTime
,
filetime_to_str
(
pTime
));
}
static
BOOL
CRYPT_GetSimpleChainForCert
(
PCertificateChainEngine
engine
,
HCERTSTORE
world
,
PCCERT_CONTEXT
cert
,
LPFILETIME
pTime
,
PCERT_SIMPLE_CHAIN
*
ppChain
)
...
...
@@ -2156,7 +2163,7 @@ static BOOL CRYPT_GetSimpleChainForCert(PCertificateChainEngine engine,
BOOL
ret
=
FALSE
;
PCERT_SIMPLE_CHAIN
chain
;
TRACE
(
"(%p, %p, %p, %
p)
\n
"
,
engine
,
world
,
cert
,
pTime
);
TRACE
(
"(%p, %p, %p, %
s)
\n
"
,
engine
,
world
,
cert
,
debugstr_filetime
(
pTime
)
);
chain
=
CryptMemAlloc
(
sizeof
(
CERT_SIMPLE_CHAIN
));
if
(
chain
)
...
...
@@ -2377,7 +2384,8 @@ static PCertificateChain CRYPT_BuildAlternateContextFromChain(
PCertificateChainEngine
engine
=
(
PCertificateChainEngine
)
hChainEngine
;
PCertificateChain
alternate
;
TRACE
(
"(%p, %p, %p, %p)
\n
"
,
hChainEngine
,
pTime
,
hAdditionalStore
,
chain
);
TRACE
(
"(%p, %s, %p, %p)
\n
"
,
hChainEngine
,
debugstr_filetime
(
pTime
),
hAdditionalStore
,
chain
);
/* Always start with the last "lower quality" chain to ensure a consistent
* order of alternate creation:
...
...
@@ -2803,8 +2811,9 @@ BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,
BOOL
ret
;
PCertificateChain
chain
=
NULL
;
TRACE
(
"(%p, %p, %p, %p, %p, %08x, %p, %p)
\n
"
,
hChainEngine
,
pCertContext
,
pTime
,
hAdditionalStore
,
pChainPara
,
dwFlags
,
pvReserved
,
ppChainContext
);
TRACE
(
"(%p, %p, %s, %p, %p, %08x, %p, %p)
\n
"
,
hChainEngine
,
pCertContext
,
debugstr_filetime
(
pTime
),
hAdditionalStore
,
pChainPara
,
dwFlags
,
pvReserved
,
ppChainContext
);
if
(
ppChainContext
)
*
ppChainContext
=
NULL
;
...
...
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