Skip to content

Commit

Permalink
doc: fix typos in doc/api/https.md
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
Jeff-Tian authored and codebytere committed Feb 27, 2020
1 parent f87ac90 commit 9e4aad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/https.md
Expand Up @@ -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) {
Expand Down

0 comments on commit 9e4aad7

Please sign in to comment.