summaryrefslogtreecommitdiff
path: root/lib/_tls_wrap.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2017-06-17 15:11:45 +0200
committerRoman Reiss <me@silverwind.io>2017-06-19 18:18:56 +0200
commitc474f8898755c827187da2e8e4196dec3c48e6c4 (patch)
tree96d67de1241d4a7cbda7446fceb8ac10d34f2773 /lib/_tls_wrap.js
parent878990498a246488dfe5393ddc89b2b15f395a4d (diff)
downloadandroid-node-v8-c474f8898755c827187da2e8e4196dec3c48e6c4.tar.gz
android-node-v8-c474f8898755c827187da2e8e4196dec3c48e6c4.tar.bz2
android-node-v8-c474f8898755c827187da2e8e4196dec3c48e6c4.zip
lib: fix typos
PR-URL: https://github.com/nodejs/node/pull/13741 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'lib/_tls_wrap.js')
-rw-r--r--lib/_tls_wrap.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js
index aba633a8ac..87b060f57a 100644
--- a/lib/_tls_wrap.js
+++ b/lib/_tls_wrap.js
@@ -420,7 +420,7 @@ TLSSocket.prototype._init = function(socket, wrap) {
// lib/net.js expect this value to be non-zero if write hasn't been flushed
// immediately
- // TODO(indutny): rewise this solution, it might be 1 before handshake and
+ // TODO(indutny): revise this solution, it might be 1 before handshake and
// represent real writeQueueSize during regular writes.
ssl.writeQueueSize = 1;
@@ -723,7 +723,7 @@ TLSSocket.prototype.getProtocol = function() {
// outcomes:
//
// A) verifyError returns null meaning the client's certificate is signed
-// by one of the server's CAs. The server know's the client idenity now
+// by one of the server's CAs. The server now knows the client's identity
// and the client is authorized.
//
// B) For some reason the client's certificate is not acceptable -
@@ -993,7 +993,7 @@ function normalizeConnectArgs(listArgs) {
var cb = args[1];
// If args[0] was options, then normalize dealt with it.
- // If args[0] is port, or args[0], args[1] is host,port, we need to
+ // If args[0] is port, or args[0], args[1] is host, port, we need to
// find the options and merge them in, normalize's options has only
// the host/port/path args that it knows about, not the tls options.
// This means that options.host overrides a host arg.