Skip to content

Commit 92d3e1d

Browse files
committed
Old versions of node can get their cipher from the cleartextStream
1 parent 8ae4163 commit 92d3e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/FakeServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ if (tls.TLSSocket) {
472472

473473
var conn = this;
474474
securePair.on('secure', function () {
475-
conn._cipher = this.getCipher();
475+
conn._cipher = securePair.cleartext.getCipher();
476476
});
477477

478478
// resume

0 commit comments

Comments
 (0)