aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-05-19 14:46:32 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-05-19 14:46:32 +0300
commit61ec58a9bed5ec0cae60c3f3b8d46382beecc5c6 (patch)
tree1425d41cbeda7c0586a9354649524350bf8b36f1 /src/http/ngx_http_request.c
parent3b7dca4bb5b0938addd48dd5261a0b61d849f8f3 (diff)
downloadnginx-61ec58a9bed5ec0cae60c3f3b8d46382beecc5c6.tar.gz
nginx-61ec58a9bed5ec0cae60c3f3b8d46382beecc5c6.zip
SSL: removed default DH parameters.
Using the same DH parameters on multiple servers is believed to be subject to precomputation attacks, see http://weakdh.org/. Additionally, 1024 bits are not enough in the modern world as well. Let users provide their own DH parameters with the ssl_dhparam directive if they want to use EDH ciphers. Note that SSL_CTX_set_dh_auto() as provided by OpenSSL 1.1.0 uses fixed DH parameters from RFC 5114 and RFC 3526, and therefore subject to the same precomputation attacks. We avoid using it as well. This change also fixes compilation with OpenSSL 1.1.0-pre5 (aka Beta 2), as OpenSSL developers changed their policy after releasing Beta 1 and broke API once again by making the DH struct opaque (see ticket #860).
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions