Fixes #734.
The first commit fixes OpenSSL EC detection on macOS, by making CRYPTO_CPPFLAGS
available during configure. Similar to how GMP_CPPFLAGS
are used.
The second commit, which I’d like feedback on, fixes a compilation error:
0 CC src/bench_verify.o
1src/bench_verify.c:15:10: fatal error: 'openssl/bn.h' file not found
2#include <openssl/bn.h>
3 ^~~~~~~~~~~~~~
41 error generated.
as CRYPTO_CPPFLAGS
are then needed in bench_verify, and are not included otherwise.
Not sure if this is the way you’d like to fix this, as its a bit of a hack for macOS.