summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh-keygen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 09d995ffb..07f78eefb 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -2467,12 +2467,6 @@ main(int argc, char **argv)
2467 case 'j': 2467 case 'j':
2468 start_lineno = strtoul(optarg, NULL, 10); 2468 start_lineno = strtoul(optarg, NULL, 10);
2469 break; 2469 break;
2470 case 'T':
2471 do_screen_candidates = 1;
2472 if (strlcpy(out_file, optarg, sizeof(out_file)) >=
2473 sizeof(out_file))
2474 fatal("Output filename too long");
2475 break;
2476 case 'K': 2470 case 'K':
2477 if (strlen(optarg) >= PATH_MAX) 2471 if (strlen(optarg) >= PATH_MAX)
2478 fatal("Checkpoint filename too long"); 2472 fatal("Checkpoint filename too long");
@@ -2489,6 +2483,12 @@ main(int argc, char **argv)
2489 if (BN_hex2bn(&start, optarg) == 0) 2483 if (BN_hex2bn(&start, optarg) == 0)
2490 fatal("Invalid start point."); 2484 fatal("Invalid start point.");
2491 break; 2485 break;
2486 case 'T':
2487 do_screen_candidates = 1;
2488 if (strlcpy(out_file, optarg, sizeof(out_file)) >=
2489 sizeof(out_file))
2490 fatal("Output filename too long");
2491 break;
2492#endif /* WITH_OPENSSL */ 2492#endif /* WITH_OPENSSL */
2493 case '?': 2493 case '?':
2494 default: 2494 default: