diff options
author | Anton Salikhmetov <anton.salikhmetov@gmail.com> | 2018-03-02 21:46:34 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-03-11 18:29:18 +0100 |
commit | 98a14e026bab0bda4013f75d1d0968a12fe5117f (patch) | |
tree | 2c8b58aba092f3a6609dc352642bf219ac9ae138 /src/node_crypto.h | |
parent | d3f174faab55662226ced53bef6bb2040352a825 (diff) | |
download | android-node-v8-98a14e026bab0bda4013f75d1d0968a12fe5117f.tar.gz android-node-v8-98a14e026bab0bda4013f75d1d0968a12fe5117f.tar.bz2 android-node-v8-98a14e026bab0bda4013f75d1d0968a12fe5117f.zip |
tls: expose Finished messages in TLSSocket
Exposes SSL_get_finished and SSL_get_peer_finished routines in OpenSSL
as tlsSocket.getFinished and tlsSocket.getPeerFinished, respectively.
PR-URL: https://github.com/nodejs/node/pull/19102
Fixes: https://github.com/nodejs/node/issues/19055
Refs: https://github.com/ripple/rippled/issues/2413
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 05ea79f71f..668781aca9 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -269,6 +269,8 @@ class SSLWrap { static void GetPeerCertificate( const v8::FunctionCallbackInfo<v8::Value>& args); + static void GetFinished(const v8::FunctionCallbackInfo<v8::Value>& args); + static void GetPeerFinished(const v8::FunctionCallbackInfo<v8::Value>& args); static void GetSession(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetSession(const v8::FunctionCallbackInfo<v8::Value>& args); static void LoadSession(const v8::FunctionCallbackInfo<v8::Value>& args); |