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

pkey/ec: check private key validity with OpenSSL 3 #580

Merged
merged 1 commit into from
Dec 22, 2022

Commits on Dec 22, 2022

  1. pkey/ec: check private key validity with OpenSSL 3

    The behavior of EVP_PKEY_public_check changed between OpenSSL 1.1.1
    and 3.0 so that it no longer validates the private key. Instead, private
    keys can be validated through EVP_PKEY_private_check and
    EVP_PKEY_pairwise_check.
    
    [ky: simplified condition to use either EVP_PKEY_check() or
    EVP_PKEY_public_check().]
    bannable authored and rhenium committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    e38a63a View commit details
    Browse the repository at this point in the history