summaryrefslogtreecommitdiff
path: root/lib/_tls_common.js
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-06-13 10:02:33 +0200
committerJames M Snell <jasnell@gmail.com>2017-06-13 09:05:43 -0700
commite5a494857acbd3c55d7a9ac7371793e0d3128cc0 (patch)
treec89ffeb0885f5133de70530e551073b649971835 /lib/_tls_common.js
parent7f3f72c19b6a0b23394e32a52c1c34b9d59028a7 (diff)
downloadandroid-node-v8-e5a494857acbd3c55d7a9ac7371793e0d3128cc0.tar.gz
android-node-v8-e5a494857acbd3c55d7a9ac7371793e0d3128cc0.tar.bz2
android-node-v8-e5a494857acbd3c55d7a9ac7371793e0d3128cc0.zip
lib: correct typo in createSecureContext
Minor correction in the comment regarding ssl_set_pkey. PR-URL: https://github.com/nodejs/node/pull/13653 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/_tls_common.js')
-rw-r--r--lib/_tls_common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_tls_common.js b/lib/_tls_common.js
index 2f0b17b111..afcc5bc5fa 100644
--- a/lib/_tls_common.js
+++ b/lib/_tls_common.js
@@ -91,7 +91,7 @@ exports.createSecureContext = function createSecureContext(options, context) {
}
// NOTE: It is important to set the key after the cert.
- // `ssl_set_pkey` returns `0` when the key does not much the cert, but
+ // `ssl_set_pkey` returns `0` when the key does not match the cert, but
// `ssl_set_cert` returns `1` and nullifies the key in the SSL structure
// which leads to the crash later on.
if (options.key) {