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 /auto/lib | |
| parent | 93c2749fae7c9516c7dde73543df0ca93cba92b4 (diff) | |
| download | nginx-e6f04424affb4c16db9d9c65487ed47459abba7f.tar.gz nginx-e6f04424affb4c16db9d9c65487ed47459abba7f.tar.bz2 | |
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 'auto/lib')
| -rw-r--r-- | auto/lib/openssl/conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf index e438050e8..39d960237 100644 --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -52,7 +52,7 @@ else ngx_feature_incs="#include <openssl/ssl.h>" ngx_feature_path= ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL" - ngx_feature_test="SSL_library_init()" + ngx_feature_test="SSL_CTX_set_options(NULL, 0)" . auto/feature if [ $ngx_found = no ]; then |
