Page MenuHomePhabricator

[secp256k1] Remove usage of CHECK from non-test file
ClosedPublic

Authored by PiRK on Fri, Feb 13, 15:48.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe58090722e37: [secp256k1] Remove usage of CHECK from non-test file
Summary

Currently CHECK is used only in test and bench mark files except for one
usage in ecmult_impl.h.

We would like to move the definition of CHECK out of util.h so that
util.h no longer has a hard dependency on stdio.h.

Done in preparation for moving the definition of CHECK as part of an
effort to allow secp256k1 to be compiled to WASM as part of
rust-secp256k1.

This is a backport of secp256k1#1149

Test Plan

ninja check-secp256k1

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Fri, Feb 13, 15:48
This revision is now accepted and ready to land.Mon, Feb 16, 09:18
PiRK retitled this revision from Remove usage of CHECK from non-test file to [secp256k1] Remove usage of CHECK from non-test file.Mon, Feb 23, 08:59