Stop calling functions deprecated in OpenSSL 1.1.0
The following functions were deprecated in OpenSSL 1.1.0, and do not need to be called (directly, or a replacement) explicitly:
OpenSSL_add_all_algorithms()ERR_load_crypto_strings()ERR_free_strings()EVP_cleanup()ENGINE_cleanup()
Even though they are merely deprecated, some build options for OpenSSL make them completely unavailable (without at least some specific #define). Remove them altogether, so that building against such configurations of OpenSSL 1.1.0 does not fail.
Please note that this has not been tested, I only made sure the build proceeded fine. Sorry about that. :(
Safe to say this patch cannot be considered, APR exists to increase interoperability. 1.0.2 is supported by the OpenSSL project for some years to come.
The trunk and 1.7.x branches of APR improved compatibility with openssl 1.1 and latest libressl versions too. The proposed patch shouldn't be needed now.
This was fixed here: http://mail-archives.apache.org/mod_mbox/apr-commits/201906.mbox/%[email protected]%3E in r1861954.