Skip to content

Commit 8b17e7a

Browse files
shobhitchittoraMylesBorins
authored andcommitted
doc: update cli flag in crypto.md
PR-URL: #20400 Fixes: #20385 Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
1 parent e854c95 commit 8b17e7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1561,7 +1561,8 @@ behavior.
15611561

15621562
The `algorithm` is dependent on the available algorithms supported by the
15631563
version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.
1564-
On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will
1564+
On recent releases of OpenSSL, `openssl list -digest-algorithms`
1565+
(`openssl list-message-digest-algorithms` for older versions of OpenSSL) will
15651566
display the available digest algorithms.
15661567

15671568
Example: generating the sha256 sum of a file

0 commit comments

Comments
 (0)