Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff <jeff.tian@outlook.com>2020-02-14 17:36:11 +0300
committerAnna Henningsen <anna@addaleax.net>2020-02-16 18:58:39 +0300
commite028ea0291b845e4bec3c7cff7319a027b8c815e (patch)
tree173359223eea47a08bb7b0df998ac6307ad1dc6c /doc/api/https.md
parent26e49d83323c78e89b2664b6eeaee90757d52868 (diff)
doc: fix typos in doc/api/https.md
PR-URL: https://github.com/nodejs/node/pull/31793 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r--doc/api/https.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index 19d2053d377..ac53b6f0fde 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -372,7 +372,7 @@ const options = {
return new Error(msg);
}
- // Pin the exact certificate, rather then the pub key
+ // Pin the exact certificate, rather than the pub key
const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' +
'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16';
if (cert.fingerprint256 !== cert256) {