From c833e4da8f423d500fb59c85f5bded878c020f9f Mon Sep 17 00:00:00 2001 From: Shobhit Chittora Date: Sun, 29 Apr 2018 15:53:29 +0530 Subject: [PATCH 1/5] docs: Updates the OpenSSL `list-message-digest-algorithms` to the newer `list digest-algorithms`. Closes: #20385 --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 6d99978110141d..75fc6dd03067c3 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1585,7 +1585,7 @@ behavior. The `algorithm` is dependent on the available algorithms supported by the version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. -On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will +On recent releases of OpenSSL, `openssl list digest-algorithms` ( `openssl list-message-digest-algorithms` for older versions of OpenSSL ) will display the available digest algorithms. Example: generating the sha256 sum of a file From 476d04fd10db49dac762fda388c8c74900cbde4f Mon Sep 17 00:00:00 2001 From: Shobhit Chittora Date: Sun, 29 Apr 2018 16:37:26 +0530 Subject: [PATCH 2/5] doc: moves the addition to a new line as per lint Refs: #20400 --- doc/api/crypto.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 75fc6dd03067c3..79ad2641a24e36 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1585,7 +1585,8 @@ behavior. The `algorithm` is dependent on the available algorithms supported by the version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. -On recent releases of OpenSSL, `openssl list digest-algorithms` ( `openssl list-message-digest-algorithms` for older versions of OpenSSL ) will +On recent releases of OpenSSL, `openssl list digest-algorithms` ( +`openssl list-message-digest-algorithms` for older versions of OpenSSL ) will display the available digest algorithms. Example: generating the sha256 sum of a file From f61e7cf27e12f2db28a14f64e6509b58b86e345a Mon Sep 17 00:00:00 2001 From: Shobhit Chittora Date: Sun, 29 Apr 2018 16:41:09 +0530 Subject: [PATCH 3/5] doc: adds '-' before digest-algorithms. Refs: #20400 --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 79ad2641a24e36..2e714dedda3f6f 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1585,7 +1585,7 @@ behavior. The `algorithm` is dependent on the available algorithms supported by the version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. -On recent releases of OpenSSL, `openssl list digest-algorithms` ( +On recent releases of OpenSSL, `openssl list -digest-algorithms` ( `openssl list-message-digest-algorithms` for older versions of OpenSSL ) will display the available digest algorithms. From de827fb8e93923e7687095d3bbb477d3278d87b9 Mon Sep 17 00:00:00 2001 From: Shobhit Chittora Date: Mon, 30 Apr 2018 12:32:11 +0530 Subject: [PATCH 4/5] doc: removes extra space + moved addition to next line Refs: #20400 --- doc/api/crypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 2e714dedda3f6f..1b538c5db1987e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1585,8 +1585,8 @@ behavior. The `algorithm` is dependent on the available algorithms supported by the version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. -On recent releases of OpenSSL, `openssl list -digest-algorithms` ( -`openssl list-message-digest-algorithms` for older versions of OpenSSL ) will +On recent releases of OpenSSL, `openssl list -digest-algorithms` +(`openssl list-message-digest-algorithms` for older versions of OpenSSL) will display the available digest algorithms. Example: generating the sha256 sum of a file From 1b6ad455bdf2db163f5e6e32f94dd751219ca15a Mon Sep 17 00:00:00 2001 From: Shobhit Chittora Date: Thu, 3 May 2018 20:16:08 +0530 Subject: [PATCH 5/5] doc: updates command at one more place Refs: #20400 --- doc/api/crypto.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 1b538c5db1987e..3eb2f0f3c75457 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1623,7 +1623,8 @@ Optional `options` argument controls stream behavior. The `algorithm` is dependent on the available algorithms supported by the version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. -On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will +On recent releases of OpenSSL, `openssl list -digest-algorithms` +(`openssl list-message-digest-algorithms` for older versions of OpenSSL) will display the available digest algorithms. The `key` is the HMAC key used to generate the cryptographic HMAC hash.