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
84a54b5a
Commit
84a54b5a
authored
Aug 09, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Trace more return values.
parent
9da1baa1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
cert.c
dlls/crypt32/cert.c
+9
-2
sip.c
dlls/crypt32/sip.c
+5
-0
No files found.
dlls/crypt32/cert.c
View file @
84a54b5a
...
...
@@ -707,11 +707,15 @@ BOOL WINAPI CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert,
BOOL
WINAPI
CertCompareCertificate
(
DWORD
dwCertEncodingType
,
PCERT_INFO
pCertId1
,
PCERT_INFO
pCertId2
)
{
BOOL
ret
;
TRACE
(
"(%08x, %p, %p)
\n
"
,
dwCertEncodingType
,
pCertId1
,
pCertId2
);
ret
urn
CertCompareCertificateName
(
dwCertEncodingType
,
&
pCertId1
->
Issuer
,
ret
=
CertCompareCertificateName
(
dwCertEncodingType
,
&
pCertId1
->
Issuer
,
&
pCertId2
->
Issuer
)
&&
CertCompareIntegerBlob
(
&
pCertId1
->
SerialNumber
,
&
pCertId2
->
SerialNumber
);
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
BOOL
WINAPI
CertCompareCertificateName
(
DWORD
dwCertEncodingType
,
...
...
@@ -731,6 +735,7 @@ BOOL WINAPI CertCompareCertificateName(DWORD dwCertEncodingType,
}
else
ret
=
FALSE
;
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -773,6 +778,7 @@ BOOL WINAPI CertCompareIntegerBlob(PCRYPT_INTEGER_BLOB pInt1,
}
else
ret
=
FALSE
;
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -1134,6 +1140,7 @@ PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,
SetLastError
(
CRYPT_E_NOT_FOUND
);
ret
=
NULL
;
}
TRACE
(
"returning %p
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -1220,7 +1227,7 @@ PCCERT_CONTEXT WINAPI CertGetIssuerCertificateFromStore(HCERTSTORE hCertStore,
ret
=
NULL
;
}
}
TRACE
(
"returning %p
\n
"
,
ret
);
return
ret
;
}
...
...
dlls/crypt32/sip.c
View file @
84a54b5a
...
...
@@ -575,6 +575,7 @@ BOOL WINAPI CryptSIPCreateIndirectData(SIP_SUBJECTINFO* pSubjectInfo, DWORD* pcb
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfCreate
(
pSubjectInfo
,
pcbIndirectData
,
pIndirectData
);
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -593,6 +594,7 @@ BOOL WINAPI CryptSIPGetSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, DWORD* pdwEn
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfGet
(
pSubjectInfo
,
pdwEncodingType
,
dwIndex
,
pcbSignedDataMsg
,
pbSignedDataMsg
);
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -611,6 +613,7 @@ BOOL WINAPI CryptSIPPutSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, DWORD pdwEnc
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfPut
(
pSubjectInfo
,
pdwEncodingType
,
pdwIndex
,
cbSignedDataMsg
,
pbSignedDataMsg
);
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -627,6 +630,7 @@ BOOL WINAPI CryptSIPRemoveSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo,
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfRemove
(
pSubjectInfo
,
dwIndex
);
TRACE
(
"returning %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -643,5 +647,6 @@ BOOL WINAPI CryptSIPVerifyIndirectData(SIP_SUBJECTINFO* pSubjectInfo,
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfVerify
(
pSubjectInfo
,
pIndirectData
);
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