Skip to content

Commit 4fa84c9

Browse files
Amery2010addaleax
authored andcommitted
doc: fix crypto Verify cut-n-paste from Sign
Verify documentation had cut-n-pasted documentation from Sign. PR-URL: #9796 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Prince John Wesley <[email protected]>
1 parent 80a3934 commit 4fa84c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ of two ways:
935935
- Using the [`verify.update()`][] and [`verify.verify()`][] methods to verify
936936
the signature.
937937

938-
The [`crypto.createSign()`][] method is used to create `Sign` instances.
939-
`Sign` objects are not to be created directly using the `new` keyword.
938+
The [`crypto.createVerify()`][] method is used to create `Verify` instances.
939+
`Verify` objects are not to be created directly using the `new` keyword.
940940

941941
Example: Using `Verify` objects as streams:
942942

0 commit comments

Comments
 (0)