HomePhabricator

[backport#16554] test: only include and use OpenSSL where it's actually needed…

Description

[backport#16554] test: only include and use OpenSSL where it's actually needed (BIP70)

Summary:
2f37163caf244acbe5fc715f2321aebc231522bc test: only include and init openSSL where it's actually used (fanquake)

Pull request description:

This should save initializing OpenSSL during tests if compiled with `--disable-bip70`.

Backport of Core PR16554

Test Plan:
with -DENABLE_BIP70=[ON|OFF]:

ninja check check-functional

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Aug 6 2019, 12:49
majcostaCommitted on Oct 2 2020, 18:56
majcostaPushed on Oct 2 2020, 18:56
Reviewer
Restricted Project
Differential Revision
D7746: [backport#16554] test: only include and use OpenSSL where it's actually needed (BIP70)
Parents
rABC7415376aa57b: build: target Windows 7 when building libevent and fix ipv6 usage
Branches
Unknown
Tags
Unknown