tls, crypto: deduplicate code
authorFedor Indutny <fedor.indutny@gmail.com>
Thu, 15 Aug 2013 15:28:26 +0000 (19:28 +0400)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 19 Aug 2013 15:52:44 +0000 (17:52 +0200)
commitb9a0eb0688104f3619e75e1b9a698080e10d1ec7
tree31b0ce74052fbd8abd93bd59e43afba63f990df9
parent3e25ed905cff08cb450aa82b5383ffd9365cd7ae
tls, crypto: deduplicate code

Commit 03e008d introduced src/tls_wrap.cc and src/tls_wrap.h but
said files copied on the order of 1 kLoC from src/node_crypto.cc
and src/node_crypto.h.  This commit undoes some of the duplication.

Fixes #6024.
lib/_tls_legacy.js
src/node_crypto.cc
src/node_crypto.h
src/tls_wrap.cc
src/tls_wrap.h