tls, crypto: add DHE support
authorShigeki Ohtsu <ohtsu@iij.ad.jp>
Wed, 27 Aug 2014 09:00:13 +0000 (18:00 +0900)
committerFedor Indutny <fedor@indutny.com>
Thu, 28 Aug 2014 20:36:48 +0000 (00:36 +0400)
commit0dfedb7127ac388f66f5ea5d38330c86af6539b5
tree0945fdc64f2bd89c3cf60bf1ec65c59d3c37a3b6
parent6e453fad87c51dc15327628aa75886d3fbb3fa1c
tls, crypto: add DHE support

In case of an invalid DH parameter file, it is sliently discarded. To
use auto DH parameter in a server and DHE key length check in a
client, we need to wait for the next release of OpenSSL-1.0.2.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
doc/api/tls.markdown
lib/_tls_common.js
lib/_tls_wrap.js
src/node_crypto.cc
src/node_crypto.h
test/fixtures/dherror.pem [new file with mode: 0644]
test/fixtures/keys/Makefile
test/fixtures/keys/dh1024.pem [new file with mode: 0644]
test/fixtures/keys/dh2048.pem [new file with mode: 0644]
test/fixtures/keys/dh512.pem [new file with mode: 0644]
test/simple/test-tls-dhe.js [new file with mode: 0644]