Skip to content

Commit 9fc9bb1

Browse files
tniessenMylesBorins
authored andcommitted
doc: fix typo
PR-URL: #17900 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent f25bab5 commit 9fc9bb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ changes:
422422
When using an authenticated encryption mode (only `GCM` is currently
423423
supported), the `decipher.setAuthTag()` method is used to pass in the
424424
received _authentication tag_. If no tag is provided, or if the cipher text
425-
has been tampered with, [`decipher.final()`][] with throw, indicating that the
425+
has been tampered with, [`decipher.final()`][] will throw, indicating that the
426426
cipher text should be discarded due to failed authentication.
427427

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

0 commit comments

Comments
 (0)