Resync ssh-keygen -W error message with upstream.

This commit is contained in:
Darren Tucker 2016-09-12 13:57:28 +10:00
parent 43cceff82c
commit 7050896e73
1 changed files with 3 additions and 3 deletions

View File

@ -2485,8 +2485,8 @@ main(int argc, char **argv)
case 'W': case 'W':
generator_wanted = (u_int32_t)strtonum(optarg, 1, generator_wanted = (u_int32_t)strtonum(optarg, 1,
UINT_MAX, &errstr); UINT_MAX, &errstr);
if (errstr) if (errstr != NULL)
fatal("Desired generator has bad value: %s (%s)", fatal("Desired generator invalid: %s (%s)",
optarg, errstr); optarg, errstr);
break; break;
#endif /* WITH_OPENSSL */ #endif /* WITH_OPENSSL */