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
9686e7b2
Commit
9686e7b2
authored
Oct 20, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't crash if adding to a provider store fails.
parent
30de39b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
provstore.c
dlls/crypt32/provstore.c
+3
-3
No files found.
dlls/crypt32/provstore.c
View file @
9686e7b2
...
...
@@ -78,7 +78,7 @@ static BOOL CRYPT_ProvAddCert(PWINECRYPT_CERTSTORE store, void *cert,
/* dirty trick: replace the returned context's hCertStore with
* store.
*/
if
(
ppStoreContext
)
if
(
ret
&&
ppStoreContext
)
(
*
(
PCERT_CONTEXT
*
)
ppStoreContext
)
->
hCertStore
=
store
;
return
ret
;
}
...
...
@@ -145,7 +145,7 @@ static BOOL CRYPT_ProvAddCRL(PWINECRYPT_CERTSTORE store, void *crl,
/* dirty trick: replace the returned context's hCertStore with
* store.
*/
if
(
ppStoreContext
)
if
(
ret
&&
ppStoreContext
)
(
*
(
PCRL_CONTEXT
*
)
ppStoreContext
)
->
hCertStore
=
store
;
return
ret
;
}
...
...
@@ -212,7 +212,7 @@ static BOOL CRYPT_ProvAddCTL(PWINECRYPT_CERTSTORE store, void *ctl,
/* dirty trick: replace the returned context's hCertStore with
* store.
*/
if
(
ppStoreContext
)
if
(
ret
&&
ppStoreContext
)
(
*
(
PCTL_CONTEXT
*
)
ppStoreContext
)
->
hCertStore
=
store
;
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