Skip to content

Commit

Permalink
tls, crypto: deduplicate code
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
indutny authored and bnoordhuis committed Aug 19, 2013
1 parent 3e25ed9 commit b9a0eb0
Show file tree
Hide file tree
Showing 5 changed files with 1,095 additions and 1,668 deletions.
1 change: 1 addition & 0 deletions lib/_tls_legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ function onclienthello(hello) {
if (err) return self.socket.destroy(err);

self.ssl.loadSession(session);
self.ssl.endParser();

// Cycle data
self._resumingSession = false;
Expand Down
Loading

0 comments on commit b9a0eb0

Please sign in to comment.