Skip to content

Commit

Permalink
Update lib/_tls_wrap.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
pd4d10 and aduh95 authored May 16, 2021
1 parent b1d2148 commit bdc6537
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/_tls_wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ function TLSSocket(socket, opts) {
process.emitWarning('Enabling --trace-tls can expose sensitive data in ' +
'the resulting log.');
}
} else
} else {
validateBoolean(enableTrace, 'options.enableTrace');
}

if (tlsOptions.ALPNProtocols)
tls.convertALPNProtocols(tlsOptions.ALPNProtocols, tlsOptions);
Expand Down

0 comments on commit bdc6537

Please sign in to comment.