-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
FFC cleanups #20359
FFC cleanups #20359
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be a mix of some refactoring, a bug fix, and addition of some tests. Is the refactoring valid for backport to 3.1/3.0?
It is all related to coverage testing. Whilst doing the tests, I can see lines that will never get hit, and also spotted a bug. |
Nice!!! Paying more attention to coverage testing generally is something we should get more into the habit of.
I suggest splitting the commits so that the refactoring is in a separate commit. I think backporting the bug and the tests that identify the bug into 3.0/3.1 is valid - but we keep the refactoring as master only. |
d6f6f2e
to
a4449fa
Compare
This PR is now just the refactoring part that will go back to master only. |
This pull request is ready to merge |
Please rebase |
ping @slontis |
Discovered during coverage testing. Remove unneccesary check when using ossl_dh_get0_params() and ossl_dsa_get0_params(). These point to addresses and can not fail for any existing calls. Make dsa keygen tests only available in the FIPS module - as they are not used in the default provider. Change ossl_ffc_set_digest() to return void as it cannot fail.
rebased |
This pull request is ready to merge |
@mattcaswell reconfirm? |
Merged to master branch. Thank you for your contribution. |
Discovered during coverage testing. Remove unneccesary check when using ossl_dh_get0_params() and ossl_dsa_get0_params(). These point to addresses and can not fail for any existing calls. Make dsa keygen tests only available in the FIPS module - as they are not used in the default provider. Change ossl_ffc_set_digest() to return void as it cannot fail. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #20359)
Checklist