diff options
author | Vitaly Dyatlov <md.xytop@gmail.com> | 2018-07-08 20:12:58 +0000 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-10-11 21:04:55 -0700 |
commit | 3f08c004c5c95abc8a2faf7e2ea156c72806b54b (patch) | |
tree | 590829ecbde95c45383b40b3dba953393daba194 /src/node_crypto.h | |
parent | e4dea40ce779ae03a77c194074e5aa06a8a28a78 (diff) | |
download | android-node-v8-3f08c004c5c95abc8a2faf7e2ea156c72806b54b.tar.gz android-node-v8-3f08c004c5c95abc8a2faf7e2ea156c72806b54b.tar.bz2 android-node-v8-3f08c004c5c95abc8a2faf7e2ea156c72806b54b.zip |
src: revert removal of SecureContext `_external` getter
This `_external` getter is essential for some libs to work:
uWebSockets as an example.
PR-URL: https://github.com/nodejs/node/pull/21711
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.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 63d85669fa..2ca333f3c2 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -165,6 +165,7 @@ class SecureContext : public BaseObject { const v8::FunctionCallbackInfo<v8::Value>& args); static void EnableTicketKeyCallback( const v8::FunctionCallbackInfo<v8::Value>& args); + static void CtxGetter(const v8::FunctionCallbackInfo<v8::Value>& info); template <bool primary> static void GetCertificate(const v8::FunctionCallbackInfo<v8::Value>& args); |