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 <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and BethGriggs committed Aug 20, 2020
1 parent 6929649 commit f7563f8
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 f7563f8

Please sign in to comment.