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

crypto: use EVP_PKEY_CTX_set_dsa_paramgen_q_bits when available #44561

Merged
merged 1 commit into from Sep 29, 2022

Commits on Sep 7, 2022

  1. crypto: use EVP_PKEY_CTX_set_dsa_paramgen_q_bits when available

    This matches the formulation described in the documentation:
    https://www.openssl.org/docs/man3.0/man3/EVP_PKEY_CTX_set_dsa_paramgen_q_bits.html
    
    It is also, starting OpenSSL 3.0, more type-safe because the wrapper
    macros were finally converted to real functions. In OpenSSL 3.0, it is
    also no longer quite a wrapper over EVP_PKEY_CTX_ctrl, so using this
    name saves some extra OSSL_PARAM <-> EVP_PKEY_CTRL conversions.
    
    Alas, it was only backported to OpenSSL 1.1.1e, so I've left a temporary
    compatibility define until you all decide to drop pre-1.1.1e releases of
    1.1.1.
    davidben committed Sep 7, 2022
    Copy the full SHA
    ec31a07 View commit details
    Browse the repository at this point in the history