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: fix build error without OpenSSL support #4201

Closed
wants to merge 1 commit into from
Closed

src: fix build error without OpenSSL support #4201

wants to merge 1 commit into from

Commits on Dec 8, 2015

  1. src: fix build error without OpenSSL support

    PR #3890 [1] introduced the variable ALLOW_INSECURE_SERVER_DHPARAM defined
    in src/node_crypto.cc. However, if nodejs is built without OpenSSL support,
    the build fails:
     error: ‘ALLOW_INSECURE_SERVER_DHPARAM’ was not declared in this scope
           ALLOW_INSECURE_SERVER_DHPARAM = true;
    
    Fix this by using the preprocessor macro HAVE_OPENSSL to opt-out the use of
    ALLOW_INSECURE_SERVER_DHPARAM in non-OpenSSL builds.
    
    [1] #3890
    joerg-krause committed Dec 8, 2015
    Configuration menu
    Copy the full SHA
    f697f45 View commit details
    Browse the repository at this point in the history