diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-03-31 23:38:33 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-03-31 23:38:33 +0300 |
commit | e6f04424affb4c16db9d9c65487ed47459abba7f (patch) | |
tree | f88d6bd1e96dd17c25050c656ab3103a5b2ff398 /src/mail/ngx_mail_ssl_module.c | |
parent | 93c2749fae7c9516c7dde73543df0ca93cba92b4 (diff) | |
download | nginx-e6f04424affb4c16db9d9c65487ed47459abba7f.tar.gz nginx-e6f04424affb4c16db9d9c65487ed47459abba7f.zip |
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.
Diffstat (limited to 'src/mail/ngx_mail_ssl_module.c')
0 files changed, 0 insertions, 0 deletions