Skip to content

Commit

Permalink
chore: fix typo on unsupported SSL connection (#2273)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smankusors authored Nov 9, 2023
1 parent f7cffd0 commit 1aec4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/client_handshake.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class ClientHandshake extends Command {
if (connection.config.ssl) {
// client requires SSL but server does not support it
if (!serverSSLSupport) {
const err = new Error('Server does not support secure connnection');
const err = new Error('Server does not support secure connection');
err.code = 'HANDSHAKE_NO_SSL_SUPPORT';
err.fatal = true;
this.emit('error', err);
Expand Down

0 comments on commit 1aec4fd

Please sign in to comment.