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

test: silence compiler warning in openssl-binding #26067

Closed
wants to merge 1 commit into from

Commits on Feb 13, 2019

  1. test: silence compiler warning in openssl-binding

    Currently, this test generated the following compiler warning:
    ../binding.cc:33:30: warning:
    'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]
      const SSL_METHOD* method = TLSv1_2_server_method();
                                 ^
    /node/deps/openssl/openssl/include/openssl/ssl.h:1877:1:
    note: 'TLSv1_2_server_method' has been explicitly marked deprecated here
    DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void))
    ^
    1 warning generated.
    
    This commit adds -Wno-deprecated-declarations to silence this warning
    for this test.
    danbev committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    05c42ff View commit details
    Browse the repository at this point in the history