Skip to content

[v10.x] src: more automatic memory management in node_crypto.cc

Prefer custom smart pointers fitted to the OpenSSL data structures over more manual memory management and lots of gotos.


Had only 3 minor merge conflicts (foofoo.get() in API calls).

Original PR-URL: https://github.com/nodejs/node/pull/20238

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading