From f7563f811a61d778e56d478b30b42105101557d4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 9 Aug 2020 14:34:32 -0700 Subject: [PATCH] doc: remove typo in crypto.md 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: https://github.com/nodejs/node/pull/34698 Reviewed-By: James M Snell Reviewed-By: Richard Lau Reviewed-By: Anto Aravinth Reviewed-By: Luigi Pinca --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 0c872e99823467..af34ef34cd5153 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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]])`