mirror of https://github.com/nodejs/node.git
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>pull/31793/merge
parent
26e49d8332
commit
e028ea0291
|
@ -372,7 +372,7 @@ const options = {
|
||||||
return new Error(msg);
|
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:' +
|
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';
|
'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16';
|
||||||
if (cert.fingerprint256 !== cert256) {
|
if (cert.fingerprint256 !== cert256) {
|
||||||
|
|
Loading…
Reference in New Issue