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.

PR-URL: nodejs#20238
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
addaleax authored and tniessen committed May 13, 2018
1 parent bb975aa commit 60c5ada
Show file tree
Hide file tree
Showing 4 changed files with 725 additions and 898 deletions.
Loading

0 comments on commit 60c5ada

Please sign in to comment.