Commit 25c01cd7 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Jeremiah Senkpiel
Browse files

tls: fix assert in context._external accessor

* Restrict the receiver to instances of the FunctionTemplate.
* Use `args.This()` instead of `args.Holder()`.

Fixes: https://github.com/nodejs/node/issues/3682
PR-URL: https://github.com/nodejs/node/pull/5521


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent 12ae6abc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment