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
a4d85d80
Commit
a4d85d80
authored
Aug 28, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Use pfnAddStore2Chain internally.
parent
4f2fae1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
softpub.c
dlls/wintrust/softpub.c
+2
-10
No files found.
dlls/wintrust/softpub.c
View file @
a4d85d80
...
...
@@ -168,16 +168,8 @@ static BOOL SOFTPUB_CreateStoreFromMessage(CRYPT_PROVIDER_DATA *data)
data
->
hProv
,
CERT_STORE_NO_CRYPT_RELEASE_FLAG
,
data
->
hMsg
);
if
(
store
)
{
data
->
pahStores
=
data
->
psPfns
->
pfnAlloc
(
sizeof
(
HCERTSTORE
));
if
(
data
->
pahStores
)
{
data
->
chStores
=
1
;
data
->
pahStores
[
0
]
=
CertDuplicateStore
(
store
);
CertCloseStore
(
store
,
0
);
ret
=
TRUE
;
}
else
SetLastError
(
ERROR_OUTOFMEMORY
);
ret
=
data
->
psPfns
->
pfnAddStore2Chain
(
data
,
store
);
CertCloseStore
(
store
,
0
);
}
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