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 mz_crypt_openssl.c work with BoringSSL #583

Merged
merged 1 commit into from
Jul 10, 2021
Merged

Commits on Jul 10, 2021

  1. Make mz_crypt_openssl.c work with BoringSSL

    BoringSSL does not provide cms.h but this is an optional dependency for
    minizip, conditional on defined(MZ_ZIP_SIGNING).
    
    For the functions called by mz_crypt_init:
    - The OpenSSL_add_all_algorithms function is declared in evp.h.
      OpenSSL's hmac.h includes evp.h but BoringSSL's hmac.h does not.
    - The ERR_* functions are declared in err.h in both.
    - The ENGINE_* functions are declared in engine.h in OpenSSL but are in
      crypto.h for BoringSSL.
    nigeltao committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    3b43c4f View commit details
    Browse the repository at this point in the history