diff options
| author | J08nY | 2017-09-17 20:50:22 +0200 |
|---|---|---|
| committer | J08nY | 2017-09-17 20:50:22 +0200 |
| commit | 4c66a6ce7bb18fcd24713b56e617dd769fc05266 (patch) | |
| tree | 1c2ed105f9d62a2f7b78c1c56a88ab001945908d /src/io/cli.c | |
| parent | ea5c5a34f0595746abfecffe846d38d9e85c36a0 (diff) | |
| download | ecgen-4c66a6ce7bb18fcd24713b56e617dd769fc05266.tar.gz ecgen-4c66a6ce7bb18fcd24713b56e617dd769fc05266.tar.zst ecgen-4c66a6ce7bb18fcd24713b56e617dd769fc05266.zip | |
Diffstat (limited to 'src/io/cli.c')
| -rw-r--r-- | src/io/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/cli.c b/src/io/cli.c index dbffd89..960c827 100644 --- a/src/io/cli.c +++ b/src/io/cli.c @@ -6,7 +6,7 @@ #include <string.h> #include <unistd.h> #include "config.h" -#include "gen/seed.h" +#include "exhaustive/ansi.h" char cli_doc[] = "ecgen, tool for generating Elliptic curve domain parameters.\v(C) 2017 " @@ -201,7 +201,7 @@ error_t cli_parse(int key, char *arg, struct argp_state *state) { case OPT_SEED: cfg->from_seed = true; if (arg) { - if (!seed_valid(arg)) { + if (!ansi_seed_valid(arg)) { argp_failure( state, 1, 0, "SEED must be at least 160 bits (40 characters)."); |
