Commit e008e8fa authored by Shigeki Ohtsu's avatar Shigeki Ohtsu Committed by Fedor Indutny
Browse files

tls: fix tls handshake check in ssl error

In ssl.onerror event, `this` refers `ssl` so that
`this._secureEstablished` is always undefined. Fix it to refer
TLSSocket.

PR-URL: https://github.com/nodejs/io.js/pull/1661


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent d4726cde
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