diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-09-12 13:57:28 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-09-12 13:57:28 +1000 |
commit | 7050896e7395866278c19c2ff080c26152619d1d (patch) | |
tree | 3f3b3b7340cc618f8e9652483bd0948c77e3d1d7 /ssh-keygen.c | |
parent | 43cceff82cc20413cce58ba3375e19684e62cec4 (diff) |
Resync ssh-keygen -W error message with upstream.
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index bf7ade952..2a7939bfc 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -2485,9 +2485,9 @@ main(int argc, char **argv) | |||
2485 | case 'W': | 2485 | case 'W': |
2486 | generator_wanted = (u_int32_t)strtonum(optarg, 1, | 2486 | generator_wanted = (u_int32_t)strtonum(optarg, 1, |
2487 | UINT_MAX, &errstr); | 2487 | UINT_MAX, &errstr); |
2488 | if (errstr) | 2488 | if (errstr != NULL) |
2489 | fatal("Desired generator has bad value: %s (%s)", | 2489 | fatal("Desired generator invalid: %s (%s)", |
2490 | optarg, errstr); | 2490 | optarg, errstr); |
2491 | break; | 2491 | break; |
2492 | #endif /* WITH_OPENSSL */ | 2492 | #endif /* WITH_OPENSSL */ |
2493 | case '?': | 2493 | case '?': |