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
179e26b3
Commit
179e26b3
authored
Nov 05, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Nov 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Run the test again on W98.
parent
769b3b51
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
softpub.c
dlls/wintrust/tests/softpub.c
+9
-1
No files found.
dlls/wintrust/tests/softpub.c
View file @
179e26b3
...
...
@@ -78,6 +78,7 @@ typedef struct _SAFE_PROVIDER_FUNCTIONS
static
BOOL
(
WINAPI
*
pWTHelperGetKnownUsages
)(
DWORD
action
,
PCCRYPT_OID_INFO
**
usages
);
static
BOOL
(
WINAPI
*
CryptSIPCreateIndirectData_p
)(
SIP_SUBJECTINFO
*
,
DWORD
*
,
SIP_INDIRECT_DATA
*
);
static
VOID
(
WINAPI
*
CertFreeCertificateChain_p
)(
PCCERT_CHAIN_CONTEXT
);
static
void
InitFunctionPtrs
(
void
)
{
...
...
@@ -101,6 +102,7 @@ static void InitFunctionPtrs(void)
}
CRYPT32_GET_PROC
(
CryptSIPCreateIndirectData
)
CRYPT32_GET_PROC
(
CertFreeCertificateChain
)
#undef CRYPT32_GET_PROC
}
...
...
@@ -412,6 +414,12 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
CRYPT_PROVIDER_SGNR
sgnr
=
{
sizeof
(
sgnr
),
{
0
}
};
HRESULT
ret
;
if
(
!
CertFreeCertificateChain_p
)
{
win_skip
(
"CertFreeCertificateChain not found
\n
"
);
return
;
}
data
.
padwTrustStepErrors
=
funcs
->
pfnAlloc
(
TRUSTERROR_MAX_STEPS
*
sizeof
(
DWORD
));
if
(
!
data
.
padwTrustStepErrors
)
...
...
@@ -469,7 +477,7 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
data
.
pasSigners
[
0
].
pasCertChain
[
0
].
dwConfidence
);
CertFreeCertificateContext
(
data
.
pasSigners
[
0
].
pasCertChain
[
0
].
pCert
);
CertFreeCertificateChain
(
data
.
pasSigners
[
0
].
pChainContext
);
CertFreeCertificateChain
_p
(
data
.
pasSigners
[
0
].
pChainContext
);
CertFreeCertificateContext
(
cert
);
}
}
...
...
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