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:
authorLivia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com>2022-05-24 12:27:17 +0300
committerBryan English <bryan@bryanenglish.com>2022-05-30 19:33:54 +0300
commit3082c75efd5dc12611347668a551a21d0159cd92 (patch)
tree4f6d239bf6d5a16952c26175c8f4c0f42c58ee04 /doc/api/https.md
parent6ee9fb14e469aa621c96a1a41c412cc144f2ca3d (diff)
doc: make minor adjustments
PR-URL: https://github.com/nodejs/node/pull/43175 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.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 00d5e8b3edf..bc5c8a246dc 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -462,7 +462,7 @@ const options = {
return err;
}
- // Pin the public key, similar to HPKP pin-sha25 pinning
+ // Pin the public key, similar to HPKP pin-sha256 pinning
const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU=';
if (sha256(cert.pubkey) !== pubkey256) {
const msg = 'Certificate verification error: ' +