From e344d0e11e8c28e691a998d20365f33f3bda0b29 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 13 Jun 2017 10:02:33 +0200 Subject: [PATCH] lib: correct typo in createSecureContext Minor correction in the comment regarding ssl_set_pkey. --- lib/_tls_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_tls_common.js b/lib/_tls_common.js index 2f0b17b111a420..afcc5bc5fa2f96 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) {