OPENSSL deprecated several cleanup functions since
[quote]
.. the OpenSSL libraries now normally do all thread initialisation and
deinitialisation automatically (see OPENSSL_init_crypto).
[end of quote]
To hint the appropriate API version exposed by openssl, the opensslconf.h
suggests:
[quote]
/*
* Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
* declarations of functions deprecated in or before <version>. Otherwise, they
* still won't see them if the library has been built to disable deprecated
* functions.
*/
[end of quote]
Due to -Werror the deprecation warnings lead to compilation errors so
let's just specify that we want OpenSSL API version >= 1.1.x in the
Makefile (and retain the old, pre OpenSSL-1.0, code for now).
All tests in Crypt-OpenSSL-VerifyX509-0.10 pass for me.