forked from nodejs/node-v0.x-archive
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: fix memory leak in PKCS12 error path
The certificates are added to the CA chain one by one. If an error occurred in the middle of that, the remaining certificates weren't freed.
- Loading branch information
1 parent
babb309
commit 66fd439
Showing
1 changed file
with
18 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters