diff options
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 0ef9c02273..3a00b51932 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -308,6 +308,8 @@ class Connection : public SSLWrap<Connection>, public AsyncWrap { v8::Persistent<v8::String> servername_; #endif + size_t self_size() const override { return sizeof(*this); } + protected: static void New(const v8::FunctionCallbackInfo<v8::Value>& args); static void EncIn(const v8::FunctionCallbackInfo<v8::Value>& args); @@ -702,6 +704,8 @@ class Certificate : public AsyncWrap { const char* ExportPublicKey(const char* data, int len); const char* ExportChallenge(const char* data, int len); + size_t self_size() const override { return sizeof(*this); } + protected: static void New(const v8::FunctionCallbackInfo<v8::Value>& args); static void VerifySpkac(const v8::FunctionCallbackInfo<v8::Value>& args); |