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

Make crypto.c compile/link with OpenSSL 3 #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 12, 2023

  1. Make crypto.c compile/link with OpenSSL 3

    - Initialize libssl using non-deprecated APIs
    
    OpenSSL 3 deprecated `SSL_library_init` and `SSL_load_error_strings` in
    favor of `OPENSSL_init_ssl`. Use `OPENSSL_init_ssl` when dealing with
    OpenSSL 1.1 and newer to unbreak the build with OpenSSL 3.
    
    - Move MD5 APIs to EVP_MD APIs
    
    OpenSSL 3 deprecated all of the `MD5_`* APIs. Move to the equivalent
    `EVP_MD`* APIs so the code doesn't need to be pinned down to 1.1
    compatible APIs and uplifted at a later date.
    
    Co-authored-by: Pierre Pronchery <[email protected]>
    Co-authored-by: Ed Maste <[email protected]>
    Signed-off-by: Enji Cooper <[email protected]>
    Sponsored by:	The FreeBSD Foundation
    ngie-eign committed May 12, 2023
    Configuration menu
    Copy the full SHA
    9c3c470 View commit details
    Browse the repository at this point in the history