summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-08-23 17:53:16 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-09-05 18:10:31 +0400
commitaf76b08666d4ee04d3574efa977b6c14c3b32c90 (patch)
tree79b963064e0fcdd87da297d019c7665e413761c9 /src/node_crypto.h
parent8ee50cea401d25d54ef884987ee7d0224e8cf637 (diff)
downloadnode-af76b08666d4ee04d3574efa977b6c14c3b32c90.tar.gz
tls: socket.renegotiate(options, callback)
This utility function allows renegotiaion of secure connection after establishing it. fix #2496
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 98e0f58ec..b1c2c7fb0 100644
--- a/src/node_crypto.h
+++ b/src/node_crypto.h
@@ -172,6 +172,7 @@ class SSLWrap {
static void GetCurrentCipher(const v8::FunctionCallbackInfo<v8::Value>& args);
static void ReceivedShutdown(const v8::FunctionCallbackInfo<v8::Value>& args);
static void EndParser(const v8::FunctionCallbackInfo<v8::Value>& args);
+ static void Renegotiate(const v8::FunctionCallbackInfo<v8::Value>& args);
#ifdef OPENSSL_NPN_NEGOTIATED
static void GetNegotiatedProto(