Skip to content

Commit

Permalink
doc: remove typo in crypto.md
Browse files Browse the repository at this point in the history
Change "its[sic] recommended to" to "be sure to". This fixes a typo and
also improves the passive and indirect phrasing to a more concise active
and direct phrasing.

PR-URL: #34698
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott committed Aug 11, 2020
1 parent 77a515c commit f86e3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ If `outputEncoding` is given a string will be returned; otherwise a
`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`
lies outside of the elliptic curve. Since `otherPublicKey` is
usually supplied from a remote user over an insecure network,
its recommended for developers to handle this exception accordingly.
be sure to handle this exception accordingly.

### `ecdh.generateKeys([encoding[, format]])`
<!-- YAML
Expand Down

0 comments on commit f86e3ea

Please sign in to comment.