From e5a494857acbd3c55d7a9ac7371793e0d3128cc0 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 13 Jun 2017 10:02:33 +0200 Subject: 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 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Evan Lucas Reviewed-By: Gibson Fahnestock Reviewed-By: James M Snell --- lib/_tls_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/_tls_common.js') 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) { -- cgit v1.2.3