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
Jeff 2020-02-14 22:36:11 +08:00 committed by Anna Henningsen
parent 26e49d8332
commit e028ea0291
No known key found for this signature in database
GPG Key ID: A94130F0BFC8EBE9
1 changed files with 1 additions and 1 deletions

View File

@ -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) {