Skip to content

Commit

Permalink
lib: fix typo in lib/_tls_common.js
Browse files Browse the repository at this point in the history
change "byteLenth" to "byteLength"
  • Loading branch information
arkerone committed Apr 7, 2021
1 parent 6986fa0 commit 000048f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_tls_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ exports.createSecureContext = function createSecureContext(options) {
if (ticketKeys.byteLength !== 48) {
throw new ERR_INVALID_ARG_VALUE(
'options.ticketKeys',
ticketKeys.byteLenth,
ticketKeys.byteLength,
'must be exactly 48 bytes');
}
c.context.setTicketKeys(ticketKeys);
Expand Down

0 comments on commit 000048f

Please sign in to comment.