joyent/node — pull request #7009 by indutny (2014-01-31 12:51:19+00:00)
Title: tls: fix crash in SNICallback

`tls_wrap.cc` was crashing in an `Unwrap` call, when non
`SecureContext` object was passed to it. Check that the passed object
is a `SecureContext` instance before unwrapping it.

fix #7008