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
36886f7d
Commit
36886f7d
authored
Sep 27, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Sep 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Add/improve some traces.
parent
a8b8ddd8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
cert.c
dlls/crypt32/cert.c
+1
-1
encode.c
dlls/crypt32/encode.c
+6
-6
msg.c
dlls/crypt32/msg.c
+6
-0
No files found.
dlls/crypt32/cert.c
View file @
36886f7d
...
...
@@ -1091,7 +1091,7 @@ PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,
PCCERT_CONTEXT
ret
;
CertCompareFunc
compare
;
TRACE
(
"(%p, %
d, %d, %d
, %p, %p)
\n
"
,
hCertStore
,
dwCertEncodingType
,
TRACE
(
"(%p, %
08x, %08x, %08x
, %p, %p)
\n
"
,
hCertStore
,
dwCertEncodingType
,
dwFlags
,
dwType
,
pvPara
,
pPrevCertContext
);
switch
(
dwType
>>
CERT_COMPARE_SHIFT
)
...
...
dlls/crypt32/encode.c
View file @
36886f7d
...
...
@@ -3626,9 +3626,9 @@ static BOOL WINAPI CRYPT_ExportRsaPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDL
HCRYPTKEY
key
;
static
CHAR
oid
[]
=
szOID_RSA_RSA
;
TRACE_
(
crypt
)(
"(%08lx, %d, %08x, %s, %08x, %p, %p, %
p
)
\n
"
,
hCryptProv
,
TRACE_
(
crypt
)(
"(%08lx, %d, %08x, %s, %08x, %p, %p, %
d
)
\n
"
,
hCryptProv
,
dwKeySpec
,
dwCertEncodingType
,
debugstr_a
(
pszPublicKeyObjId
),
dwFlags
,
pvAuxInfo
,
pInfo
,
p
cbInfo
);
pvAuxInfo
,
pInfo
,
p
Info
?
*
pcbInfo
:
0
);
if
(
!
pszPublicKeyObjId
)
pszPublicKeyObjId
=
oid
;
...
...
@@ -3706,9 +3706,9 @@ BOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptPro
ExportPublicKeyInfoExFunc
exportFunc
=
NULL
;
HCRYPTOIDFUNCADDR
hFunc
=
NULL
;
TRACE_
(
crypt
)(
"(%08lx, %d, %08x, %s, %08x, %p, %p, %
p
)
\n
"
,
hCryptProv
,
TRACE_
(
crypt
)(
"(%08lx, %d, %08x, %s, %08x, %p, %p, %
d
)
\n
"
,
hCryptProv
,
dwKeySpec
,
dwCertEncodingType
,
debugstr_a
(
pszPublicKeyObjId
),
dwFlags
,
pvAuxInfo
,
pInfo
,
p
cbInfo
);
pvAuxInfo
,
pInfo
,
p
Info
?
*
pcbInfo
:
0
);
if
(
!
hCryptProv
)
{
...
...
@@ -3747,7 +3747,7 @@ static BOOL WINAPI CRYPT_ImportRsaPublicKeyInfoEx(HCRYPTPROV hCryptProv,
BOOL
ret
;
DWORD
pubKeySize
=
0
;
TRACE_
(
crypt
)(
"(%08lx, %
d, %p, %d
, %08x, %p, %p)
\n
"
,
hCryptProv
,
TRACE_
(
crypt
)(
"(%08lx, %
08x, %p, %08x
, %08x, %p, %p)
\n
"
,
hCryptProv
,
dwCertEncodingType
,
pInfo
,
aiKeyAlg
,
dwFlags
,
pvAuxInfo
,
phKey
);
ret
=
CryptDecodeObject
(
dwCertEncodingType
,
RSA_CSP_PUBLICKEYBLOB
,
...
...
@@ -3785,7 +3785,7 @@ BOOL WINAPI CryptImportPublicKeyInfoEx(HCRYPTPROV hCryptProv,
ImportPublicKeyInfoExFunc
importFunc
=
NULL
;
HCRYPTOIDFUNCADDR
hFunc
=
NULL
;
TRACE_
(
crypt
)(
"(%08lx, %
d, %p, %d
, %08x, %p, %p)
\n
"
,
hCryptProv
,
TRACE_
(
crypt
)(
"(%08lx, %
08x, %p, %08x
, %08x, %p, %p)
\n
"
,
hCryptProv
,
dwCertEncodingType
,
pInfo
,
aiKeyAlg
,
dwFlags
,
pvAuxInfo
,
phKey
);
if
(
!
set
)
...
...
dlls/crypt32/msg.c
View file @
36886f7d
...
...
@@ -1808,6 +1808,8 @@ static BOOL CRYPT_CopySignerInfo(void *pvData, DWORD *pcbData,
DWORD
size
=
sizeof
(
CMSG_SIGNER_INFO
);
BOOL
ret
;
TRACE
(
"(%p, %d, %p)
\n
"
,
pvData
,
pvData
?
*
pcbData
:
0
,
in
);
size
+=
in
->
Issuer
.
cbData
;
size
+=
in
->
SerialNumber
.
cbData
;
if
(
in
->
HashAlgorithm
.
pszObjId
)
...
...
@@ -1853,6 +1855,7 @@ static BOOL CRYPT_CopySignerInfo(void *pvData, DWORD *pcbData,
CRYPT_CopyAttributes
(
&
out
->
UnauthAttrs
,
&
in
->
UnauthAttrs
,
&
nextData
);
ret
=
TRUE
;
}
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -1862,6 +1865,8 @@ static BOOL CRYPT_CopySignerCertInfo(void *pvData, DWORD *pcbData,
DWORD
size
=
sizeof
(
CERT_INFO
);
BOOL
ret
;
TRACE
(
"(%p, %d, %p)
\n
"
,
pvData
,
pvData
?
*
pcbData
:
0
,
in
);
size
+=
in
->
Issuer
.
cbData
;
size
+=
in
->
SerialNumber
.
cbData
;
if
(
!
pvData
)
...
...
@@ -1885,6 +1890,7 @@ static BOOL CRYPT_CopySignerCertInfo(void *pvData, DWORD *pcbData,
CRYPT_CopyBlob
(
&
out
->
SerialNumber
,
&
in
->
SerialNumber
,
&
nextData
);
ret
=
TRUE
;
}
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
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