From 3f08c004c5c95abc8a2faf7e2ea156c72806b54b Mon Sep 17 00:00:00 2001 From: Vitaly Dyatlov Date: Sun, 8 Jul 2018 20:12:58 +0000 Subject: 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 Reviewed-By: James M Snell --- src/node_crypto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/node_crypto.h') 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& args); static void EnableTicketKeyCallback( const v8::FunctionCallbackInfo& args); + static void CtxGetter(const v8::FunctionCallbackInfo& info); template static void GetCertificate(const v8::FunctionCallbackInfo& args); -- cgit v1.2.3