HomePhabricator

pubkey: Assert CPubKey's ECCVerifyHandle precondition

Description

pubkey: Assert CPubKey's ECCVerifyHandle precondition

Summary:

This makes it more clear for fuzzing harness writers and others that ECCVerifyHandle is expected to be held when interacting with CPubKey.

Related PR17274 (D6883).

This is a backport of Core PR17275

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8301

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Nov 6 2020, 15:49
PiRKCommitted on Nov 6 2020, 15:49
abc-botPushed on Nov 6 2020, 15:55
Reviewer
Restricted Project
Differential Revision
D8301: pubkey: Assert CPubKey's ECCVerifyHandle precondition
Parents
rABCe58b64941faf: util: remove unwanted fields from bitcoin-cli -getinfo
Branches
Unknown
Tags
Unknown