mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
1 parent
6ee9fb14e4
commit
3082c75efd
12 files changed
+13
-13
No files matched your search
+1
-1
@@ -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: ' +
|
||||
|
||||
Reference in new issue
Block a user