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: avoid unitializing ECDH objects on error #34302

Closed

Commits on Aug 14, 2020

  1. crypto: avoid unitializing ECDH objects on error

    The previous code changed the private key of the ECDH object, but
    removed the public key if deriving it from the private key failed.
    Instead, if deriving the public key fails, neither the private nor
    the public key stored in the ECDH object should be updated.
    tniessen committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    a8c7d72 View commit details
    Browse the repository at this point in the history