annotate contrib/vim/ftdetect/nginx.vim @ 7318:3443fe40bdc7

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 16 Jul 2018 17:47:20 +0300
parents f38043bd15f5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5460
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
1 au BufRead,BufNewFile *.nginx set ft=nginx
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
2 au BufRead,BufNewFile */etc/nginx/* set ft=nginx
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
3 au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
f38043bd15f5 Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff changeset
4 au BufRead,BufNewFile nginx.conf set ft=nginx