comparison auto/lib/openssl/conf @ 6488:a57b2b8999e7

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 31 Mar 2016 23:38:33 +0300
parents e59e617f8fcb
children abb0a4189cf7
comparison
equal deleted inserted replaced
6487:9dd43f4ef67e 6488:a57b2b8999e7
50 ngx_feature_name="NGX_OPENSSL" 50 ngx_feature_name="NGX_OPENSSL"
51 ngx_feature_run=no 51 ngx_feature_run=no
52 ngx_feature_incs="#include <openssl/ssl.h>" 52 ngx_feature_incs="#include <openssl/ssl.h>"
53 ngx_feature_path= 53 ngx_feature_path=
54 ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL" 54 ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL"
55 ngx_feature_test="SSL_library_init()" 55 ngx_feature_test="SSL_CTX_set_options(NULL, 0)"
56 . auto/feature 56 . auto/feature
57 57
58 if [ $ngx_found = no ]; then 58 if [ $ngx_found = no ]; then
59 59
60 # FreeBSD port 60 # FreeBSD port