summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2017-12-28 13:00:03 +0100
committerMyles Borins <mylesborins@google.com>2018-02-12 19:28:29 -0500
commit3c3a631643cc21bfe9dc89bcad1c63faf7cd05af (patch)
treeb1d13bbaf19cb0837ff607d9391e48bac26db8c2
parent5b00ee31ee489735e659f38ceea96403b73d0b82 (diff)
downloadnode-new-3c3a631643cc21bfe9dc89bcad1c63faf7cd05af.tar.gz
doc: fix typo
PR-URL: https://github.com/nodejs/node/pull/17900 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r--doc/api/crypto.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index bdb2b18029..8f65f8d7eb 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -347,7 +347,7 @@ added: v1.0.0
When using an authenticated encryption mode (only `GCM` is currently
supported), the `decipher.setAuthTag()` method is used to pass in the
received _authentication tag_. If no tag is provided, or if the cipher text
-has been tampered with, [`decipher.final()`][] with throw, indicating that the
+has been tampered with, [`decipher.final()`][] will throw, indicating that the
cipher text should be discarded due to failed authentication.
Returns `this` for method chaining.