Skip to content
Snippets Groups Projects
Commit 51b8c1e4 authored by Niels Möller's avatar Niels Möller
Browse files

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

Rev: nettle/examples/random-prime.c:1.2
parent 6ce825c7
No related branches found
No related tags found
No related merge requests found
...@@ -106,9 +106,9 @@ main(int argc, char **argv) ...@@ -106,9 +106,9 @@ main(int argc, char **argv)
return EXIT_FAILURE; 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; return EXIT_FAILURE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment