0./configure --enable-openssl-tests
1...
2checking for libcrypto... yes
3checking for main in -lcrypto... yes
4checking for EC functions in libcrypto... no
5configure: error: OpenSSL tests requested but OpenSSL with EC support is not available
config.log
0configure:14672: checking for EC functions in libcrypto
1configure:14696: gcc -c -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g conftest.c >&5
2conftest.c:36:14: fatal error: 'openssl/ec.h' file not found
3 #include <openssl/ec.h>
4 ^~~~~~~~~~~~~~
51 error generated.
I can PR a fix shortly if no-one beats me to it.