diff options
Diffstat (limited to 'src/node_crypto.cc')
-rw-r--r-- | src/node_crypto.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 5a9646d183..9110eab440 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -760,7 +760,7 @@ void SecureContext::GetTicketKeys(const FunctionCallbackInfo<Value>& args) { HandleScope scope(node_isolate); SecureContext* wrap; - UNWRAP(args.This(), SecureContext, wrap); + NODE_UNWRAP(args.This(), SecureContext, wrap); Local<Object> buff = Buffer::New(48); if (SSL_CTX_get_tlsext_ticket_keys(wrap->ctx_, @@ -785,7 +785,7 @@ void SecureContext::SetTicketKeys(const FunctionCallbackInfo<Value>& args) { } SecureContext* wrap; - UNWRAP(args.This(), SecureContext, wrap); + NODE_UNWRAP(args.This(), SecureContext, wrap); if (SSL_CTX_set_tlsext_ticket_keys(wrap->ctx_, Buffer::Data(args[0]), |