Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: only initialize openssl once #29999

Closed
wants to merge 1 commit into from

Commits on Oct 17, 2019

  1. src: only initialize openssl 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: nodejs#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
    sam-github committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    12cbdcb View commit details
    Browse the repository at this point in the history