HomePhabricator

[SECP256K1] Make autotools check for all the used openssl functions

Description

[SECP256K1] Make autotools check for all the used openssl functions

Summary:

I added all the openssl functions that we call in tests.c and in
bench_verify.c to the m4 check, that way if any of them are missing it
won't enable openssl.
I also modified it a little to prevent a segmentation fault when running
that program (not that it really matters for autotools)

Backport of secp256k1 PR838.

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
Elichai Turkel <elichai.turkel@gmail.com>Authored on Oct 21 2020, 11:39
FabienCommitted on Oct 29 2020, 19:23
FabienPushed on Oct 29 2020, 19:24
Reviewer
Restricted Project
Differential Revision
D8157: [SECP256K1] Make autotools check for all the used openssl functions
Parents
rABCf780be44599f: [backport#12075] [scripts] Add missing univalue file to copyright_header.py
Branches
Unknown
Tags
Unknown