From 20b66b4817b3811ae58e42dd4c5db739f87bf902 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sun, 23 Feb 2020 16:45:43 +0100 Subject: [PATCH] Man page: fixed const in code example --- doc/man/man3/crypto_argon2i.3monocypher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/man/man3/crypto_argon2i.3monocypher b/doc/man/man3/crypto_argon2i.3monocypher index 02ee953..d6f4074 100644 --- a/doc/man/man3/crypto_argon2i.3monocypher +++ b/doc/man/man3/crypto_argon2i.3monocypher @@ -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 */ -- 2.47.3