Skip to content

Commit

Permalink
src: more automatic memory management in node_crypto.cc
Browse files Browse the repository at this point in the history
Prefer custom smart pointers fitted to the OpenSSL data structures
over more manual memory management and lots of `goto`s.

Backport-PR-URL: #20706
PR-URL: #20238
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
addaleax committed May 14, 2018
1 parent 34d6708 commit 40fb885
Show file tree
Hide file tree
Showing 4 changed files with 725 additions and 898 deletions.
Loading

0 comments on commit 40fb885

Please sign in to comment.