diff options
| author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2014-08-27 18:00:13 +0900 |
|---|---|---|
| committer | Fedor Indutny <fedor@indutny.com> | 2014-08-29 00:36:48 +0400 |
| commit | 0dfedb7127ac388f66f5ea5d38330c86af6539b5 (patch) | |
| tree | 0945fdc64f2bd89c3cf60bf1ec65c59d3c37a3b6 /src/node_crypto.h | |
| parent | 6e453fad87c51dc15327628aa75886d3fbb3fa1c (diff) | |
| download | node-0dfedb7127ac388f66f5ea5d38330c86af6539b5.tar.gz | |
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>
Diffstat (limited to 'src/node_crypto.h')
| -rw-r--r-- | src/node_crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 178afc80e..c88f3945e 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -95,6 +95,7 @@ class SecureContext : public BaseObject { static void AddRootCerts(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetCiphers(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetECDHCurve(const v8::FunctionCallbackInfo<v8::Value>& args); + static void SetDHParam(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetOptions(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetSessionIdContext( const v8::FunctionCallbackInfo<v8::Value>& args); |
