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

fix: Changed OpenSSL check inside configure.am #234

Merged
merged 1 commit into from
Sep 18, 2020

Commits on Sep 11, 2020

  1. fix: Changed OpenSSL check inside configure.am

    In OpenSSL 1.1.0 the `EVP_MD_CTX_create()` and `EVP_MD_CTX_destroy()`
    functions were renamed to `EVP_MD_CTX_new()` and `EVP_MD_CTX_free()`.
    Because a check for `EVP_MD_CTX_create()` was in place inside
    configure.am, building with newer OpenSSL versions could not be done.
    
    Checking for `EVP_MD_CTX_create` function from configure.am was
    replaced with a check for `CRYPTO_new_ex_data()` function.
    
    Because a [compatibility layer][1] was introduced in OpenSSL 1.1.0,
    no code changes are necessary.
    
    Fixes: vstakhov#203
    
    [1]: https://github.com/openssl/openssl/blob/OpenSSL_1_1_0/include/openssl/evp.h#L500-L502
    vimishor committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    c714132 View commit details
    Browse the repository at this point in the history