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

test/params_test.c: diverse fixes #8469

Closed
wants to merge 3 commits into from

Conversation

levitte
Copy link
Member

@levitte levitte commented Mar 13, 2019

79c0b33 test/params_test.c: make construct_api_params() static
9eaf623 test/params_test.c: make more global variables static
f2003c8 test/params_test.c: use TEST_double_eq to check doubles

With enough warning flags, compilers complain when a non-static
function hasn't been properly declared...
Again, compilers that don't like them being undeclared...
@levitte levitte added the branch: master Merge to master branch label Mar 13, 2019
@levitte levitte added this to In progress in 3.0 New Core + FIPS via automation Mar 13, 2019
Copy link
Member

@romen romen left a comment

Choose a reason for hiding this comment

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

Just a nit!

test/params_test.c Outdated Show resolved Hide resolved
3.0 New Core + FIPS automation moved this from In progress to Reviewer approved Mar 13, 2019
TEST_ulong_eq was used previously because TEST_double_eq didn't exist
at the time.
@levitte
Copy link
Member Author

levitte commented Mar 13, 2019

I'll just wait for the CIs to confirm as well...

@romen romen added the approval: done This pull request has the required number of approvals label Mar 13, 2019
@levitte
Copy link
Member Author

levitte commented Mar 13, 2019

Cis happy. Merged.

d362084 test/params_test.c: use TEST_double_eq to check doubles
932c3d0 test/params_test.c: make more global variables static
8472750 test/params_test.c: make construct_api_params() static

@levitte levitte closed this Mar 13, 2019
3.0 New Core + FIPS automation moved this from Reviewer approved to Done Mar 13, 2019
levitte added a commit that referenced this pull request Mar 13, 2019
With enough warning flags, compilers complain when a non-static
function hasn't been properly declared...

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from #8469)
levitte added a commit that referenced this pull request Mar 13, 2019
Again, compilers that don't like them being undeclared...

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from #8469)
levitte added a commit that referenced this pull request Mar 13, 2019
TEST_ulong_eq was used previously because TEST_double_eq didn't exist
at the time.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from #8469)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: done This pull request has the required number of approvals branch: master Merge to master branch
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants