Skip to content

Commit 3ae37b2

Browse files
tniessengibfahn
authored andcommitted
doc: fix typo
PR-URL: #17900 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent b69c710 commit 3ae37b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ changes:
368368
When using an authenticated encryption mode (only `GCM` is currently
369369
supported), the `decipher.setAuthTag()` method is used to pass in the
370370
received _authentication tag_. If no tag is provided, or if the cipher text
371-
has been tampered with, [`decipher.final()`][] with throw, indicating that the
371+
has been tampered with, [`decipher.final()`][] will throw, indicating that the
372372
cipher text should be discarded due to failed authentication.
373373

374374
The `decipher.setAuthTag()` method must be called before

0 commit comments

Comments
 (0)