Generate 25 characters secrets

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët 2020-04-28 12:02:09 +00:00
parent 6e548dcbf8
commit ddbe7cf3f3

View file

@ -374,7 +374,7 @@ s_do(int argc, char **argv, void *data)
unsigned char secret[S_ENTRYSIZE];
if (op->generate) {
size_t len = 24;
size_t len = 25;
hydro_memzero(secret, sizeof(secret));
hydro_random_buf(secret, len);