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

src: simplify ECDH::GetCurves() #44309

Merged
merged 1 commit into from Aug 26, 2022

Commits on Aug 20, 2022

  1. src: simplify ECDH::GetCurves()

    There is no need to explicitly branch based on num_curves or on the
    return value of the second call to EC_get_builtin_curves. Remove
    unnecessary branches and replace the loop with a functional transform.
    tniessen committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    c88db1e View commit details
    Browse the repository at this point in the history