doc: Fix KDF example for scrypt
authormsa42 <msa42@ctemplar.com>
Mon, 21 Feb 2022 18:23:34 +0000 (18:23 +0000)
committerPauli <pauli@openssl.org>
Wed, 23 Feb 2022 22:23:08 +0000 (09:23 +1100)
CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17745)

doc/man1/openssl-kdf.pod.in

index 2880d1ff9d8afb036f7e85e852e01437fa021229..548f69c707cb5c08613e37d36da6d316e9ab1738 100644 (file)
@@ -166,7 +166,7 @@ Use PBKDF2 to create a hex-encoded derived key from a password and salt:
 Use scrypt to create a hex-encoded derived key from a password and salt:
 
     openssl kdf -keylen 64 -kdfopt pass:password -kdfopt salt:NaCl \
-                -kdfopt N:1024 -kdfopt r:8 -kdfopt p:16 \
+                -kdfopt n:1024 -kdfopt r:8 -kdfopt p:16 \
                 -kdfopt maxmem_bytes:10485760 SCRYPT
 
 =head1 NOTES