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

ecdsa: Add error checks around key generation #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ueno
Copy link
Collaborator

@ueno ueno commented Oct 29, 2022

With older openssl package where smaller curves are hobbled out, ECDSA key generation in tests may fail. This adds checks of return value of GenerateKey() so the test functions stop its execution upon error.

Signed-off-by: Daiki Ueno [email protected]

With older openssl package where smaller curves are hobbled out, ECDSA
key generation in tests may fail.  This adds checks of return value of
GenerateKey() so the test functions stop its execution upon error.

Signed-off-by: Daiki Ueno <[email protected]>
Copy link
Contributor

@derekparker derekparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekparker derekparker requested a review from dbenoit17 November 7, 2022 18:10
@derekparker
Copy link
Contributor

I know this is ancient now, did you still want to merge this? If so it needs a rebase and @dbenoit17 ack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants