Page MenuHomePhabricator

[SECP256K1] Add parens around ROUND_TO_ALIGN's parameter.
ClosedPublic

Authored by Fabien on Apr 8 2021, 13:38.

Details

Summary
This makes the macro robust against a hypothetical ROUND_TO_ALIGN(foo ?
sizeA : size B) invocation.

Backport of secp256k1#880

Test Plan
ninja check-secp256k1

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Apr 8 2021, 13:38
deadalnix requested changes to this revision.Apr 8 2021, 13:47
deadalnix added a subscriber: deadalnix.

The PR in the description is not correct

This revision now requires changes to proceed.Apr 8 2021, 13:47
Fabien requested review of this revision.Apr 8 2021, 13:51
Fabien edited the summary of this revision. (Show Details)

Updated backport link with correct repo

This revision is now accepted and ready to land.Apr 8 2021, 13:59