apr icon indicating copy to clipboard operation
apr copied to clipboard

Stop calling functions deprecated in OpenSSL 1.1.0

Open laomaiweng opened this issue 7 years ago • 3 comments

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. :(

laomaiweng avatar Feb 18 '18 05:02 laomaiweng

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.

wrowe avatar Feb 21 '18 05:02 wrowe

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.

ylavic avatar Jun 28 '18 20:06 ylavic

This was fixed here: http://mail-archives.apache.org/mod_mbox/apr-commits/201906.mbox/%[email protected]%3E in r1861954.

minfrin avatar Dec 26 '19 11:12 minfrin