Commit 51b8c1e4 authored by Niels Möller's avatar Niels Möller

* examples/random-prime.c (main): Allow sizes down to 3 bits.

Rev: nettle/examples/random-prime.c:1.2
parent 6ce825c7
......@@ -106,9 +106,9 @@ main(int argc, char **argv)
return EXIT_FAILURE;
}
if (bits < 6)
if (bits < 3)
{
fprintf(stderr, "Bitsize must be at least 6.\n");
fprintf(stderr, "Bitsize must be at least 3.\n");
return EXIT_FAILURE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment