aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_thread.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-07-16 17:47:20 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-07-16 17:47:20 +0300
commit14561299025b1a85dc7e7d9b5d793a0fa95fd393 (patch)
treef571025553a6af05f26a8ef773b705835031b277 /src/os/unix/ngx_thread.h
parentb1734fd800ec612f539f9c1699665d0685c2f9e8 (diff)
downloadnginx-14561299025b1a85dc7e7d9b5d793a0fa95fd393.tar.gz
nginx-14561299025b1a85dc7e7d9b5d793a0fa95fd393.zip
SSL: fixed SSL_clear_options() usage with OpenSSL 1.1.0+.
In OpenSSL 1.1.0 the SSL_CTRL_CLEAR_OPTIONS macro was removed, so conditional compilation test on it results in SSL_clear_options() and SSL_CTX_clear_options() not being used. Notably, this caused "ssl_prefer_server_ciphers off" to not work in SNI-based virtual servers if server preference was switched on in the default server. It looks like the only possible fix is to test OPENSSL_VERSION_NUMBER explicitly.
Diffstat (limited to 'src/os/unix/ngx_thread.h')
0 files changed, 0 insertions, 0 deletions