Skip to content

Commit

Permalink
Resync ssh-keygen -W error message with upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
daztucker committed Sep 12, 2016
1 parent 43cceff commit 7050896
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssh-keygen.c
Original file line number Diff line number Diff line change
Expand Up @@ -2485,9 +2485,9 @@ main(int argc, char **argv)
case 'W':
generator_wanted = (u_int32_t)strtonum(optarg, 1,
UINT_MAX, &errstr);
if (errstr)
fatal("Desired generator has bad value: %s (%s)",
optarg, errstr);
if (errstr != NULL)
fatal("Desired generator invalid: %s (%s)",
optarg, errstr);
break;
#endif /* WITH_OPENSSL */
case '?':
Expand Down

0 comments on commit 7050896

Please sign in to comment.