]> git.codecow.com Git - Monocypher.git/commitdiff
Man page: fixed const in code example
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 23 Feb 2020 15:45:43 +0000 (16:45 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 23 Feb 2020 15:45:43 +0000 (16:45 +0100)
doc/man/man3/crypto_argon2i.3monocypher

index 02ee953ffd127f18abcfa247b1437f5143b03835..d6f407484c9ac6e5e89d8fa8e705bc79da508630 100644 (file)
@@ -239,7 +239,7 @@ This example shows how to hash a password with the recommended baseline
 parameters:
 .Bd -literal -offset indent
 uint8_t        hash[32];                    /* Output hash     */
-const uint8_t *password;                    /* User's password */
+uint8_t       *password;                    /* User's password */
 uint8_t        password_size;               /* Password length */
 const uint8_t  salt[16];                    /* Random salt     */
 const uint32_t nb_blocks = 100000;          /* 100 megabytes   */