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

crypto: remove obsolete SSL_OP_* constants #47073

Merged

Commits on Mar 13, 2023

  1. crypto: remove obsolete SSL_OP_* constants

    None of these constants have any effect in recent OpenSSL versions, not
    even in Node.js release lines that still use OpenSSL 1.1.1.
    
    It is likely rare that these options are still used (intentionally), and
    removing them is unlikely to break any existing applications. These
    constants can only be passed to the secureOptions option of
    tls.createSecureContext() and related APIs, and a value of undefined
    will be ignored. Similarly, if a bitwise combination of multiple options
    is used, undefined constants will not change the behavior because
    (a | undefined | b) === (a | b) for (small) integers a and b.
    
    Refs: nodejs#46954
    Refs: nodejs#47066
    tniessen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    2a48afb View commit details
    Browse the repository at this point in the history