Skip to content

Commit bdc6537

Browse files
pd4d10aduh95
andauthored
Update lib/_tls_wrap.js
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent b1d2148 commit bdc6537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/_tls_wrap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,9 @@ function TLSSocket(socket, opts) {
471471
process.emitWarning('Enabling --trace-tls can expose sensitive data in ' +
472472
'the resulting log.');
473473
}
474-
} else
474+
} else {
475475
validateBoolean(enableTrace, 'options.enableTrace');
476+
}
476477

477478
if (tlsOptions.ALPNProtocols)
478479
tls.convertALPNProtocols(tlsOptions.ALPNProtocols, tlsOptions);

0 commit comments

Comments
 (0)