summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@iij.ad.jp>2014-08-27 18:00:13 +0900
committerFedor Indutny <fedor@indutny.com>2014-08-29 00:36:48 +0400
commit0dfedb7127ac388f66f5ea5d38330c86af6539b5 (patch)
tree0945fdc64f2bd89c3cf60bf1ec65c59d3c37a3b6 /src/node_crypto.h
parent6e453fad87c51dc15327628aa75886d3fbb3fa1c (diff)
downloadnode-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.h1
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);