]> git.kaiwu.me - nginx.git/commit
SSL: initialization changes for OpenSSL 1.1.0.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 31 Mar 2016 20:38:33 +0000 (23:38 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 31 Mar 2016 20:38:33 +0000 (23:38 +0300)
commite6f04424affb4c16db9d9c65487ed47459abba7f
treef88d6bd1e96dd17c25050c656ab3103a5b2ff398
parent93c2749fae7c9516c7dde73543df0ca93cba92b4
SSL: initialization changes for OpenSSL 1.1.0.

OPENSSL_config() deprecated in OpenSSL 1.1.0.  Additionally,
SSL_library_init(), SSL_load_error_strings() and OpenSSL_add_all_algorithms()
are no longer available if OPENSSL_API_COMPAT is set to 0x10100000L.

The OPENSSL_init_ssl() function is now used instead with appropriate
arguments to trigger the same behaviour.  The configure test changed to
use SSL_CTX_set_options().

Deinitialization now happens automatically in OPENSSL_cleanup() called
via atexit(3), so we no longer call EVP_cleanup() and ENGINE_cleanup()
directly.
auto/lib/openssl/conf
src/event/ngx_event_openssl.c