tls: fix references to undefined `cb`
authorFedor Indutny <fedor@indutny.com>
Thu, 11 Jun 2015 16:45:57 +0000 (18:45 +0200)
committerFedor Indutny <fedor@indutny.com>
Thu, 11 Jun 2015 17:16:12 +0000 (19:16 +0200)
commit873297753642e77fb556d13a0e4bc228f34171bd
treed6315e94d93307a54a3a6166f154e31b1a8cd3b4
parent0f68377f69823dd470fdb1ae90287c2ea4f8f404
tls: fix references to undefined `cb`

5795e835a1021abdf803e1460501487adbac8d7c introduced unintentional
copy-paste bug. `cb` is not actually present in those functions and
should not be called, the socket should be destroy instead.

PR-URL: https://github.com/nodejs/io.js/pull/1951
Reviewed-By: Roman Reiss <me@silverwind.io>
lib/_tls_wrap.js