diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-10-16 15:37:40 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-18 21:25:03 -0700 |
commit | 8425183e0bb49d7342a59fed704576993e13fe47 (patch) | |
tree | 5c6c2a81f54e94ad8ee9ccae9453bee804d22a74 /README.md | |
parent | d594a9a79890b76e002fbc1c7aa2a3aaed82c160 (diff) | |
download | android-node-v8-8425183e0bb49d7342a59fed704576993e13fe47.tar.gz android-node-v8-8425183e0bb49d7342a59fed704576993e13fe47.tar.bz2 android-node-v8-8425183e0bb49d7342a59fed704576993e13fe47.zip |
src: initialize openssl only once
For compatibility with OpenSSL 1.1.0 and 1.0.1 a series of
initialization wrappers were being called, many deprecated, and many
calling each other internally already. Compatibility is unnecessary in
12.x and later, which support only OpenSSL 1.1.1, and the multiple calls
cause the configuration file to be loaded multiple times.
Fixes: https://github.com/nodejs/node/issues/29702
See:
- https://mta.openssl.org/pipermail/openssl-users/2019-October/011303.html
- https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_init_ssl.html
- https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_init_crypto.html
PR-URL: https://github.com/nodejs/node/pull/29999
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions