summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 4a3cf241a..95d22b6a4 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: ssh-keygen.c,v 1.110 2003/10/14 19:42:10 jakob Exp $"); 15RCSID("$OpenBSD: ssh-keygen.c,v 1.111 2003/11/21 11:57:03 djm Exp $");
16 16
17#include <openssl/evp.h> 17#include <openssl/evp.h>
18#include <openssl/pem.h> 18#include <openssl/pem.h>
@@ -902,13 +902,13 @@ main(int ac, char **av)
902 case 'a': 902 case 'a':
903 trials = atoi(optarg); 903 trials = atoi(optarg);
904 if (trials < TRIAL_MINIMUM) { 904 if (trials < TRIAL_MINIMUM) {
905 fatal("Minimum primality trials is %d", 905 fatal("Minimum primality trials is %d",
906 TRIAL_MINIMUM); 906 TRIAL_MINIMUM);
907 } 907 }
908 break; 908 break;
909 case 'M': 909 case 'M':
910 memory = atoi(optarg); 910 memory = atoi(optarg);
911 if (memory != 0 && 911 if (memory != 0 &&
912 (memory < LARGE_MINIMUM || memory > LARGE_MAXIMUM)) { 912 (memory < LARGE_MINIMUM || memory > LARGE_MAXIMUM)) {
913 fatal("Invalid memory amount (min %ld, max %ld)", 913 fatal("Invalid memory amount (min %ld, max %ld)",
914 LARGE_MINIMUM, LARGE_MAXIMUM); 914 LARGE_MINIMUM, LARGE_MAXIMUM);
@@ -987,7 +987,7 @@ main(int ac, char **av)
987 if (have_identity && strcmp(identity_file, "-") != 0) { 987 if (have_identity && strcmp(identity_file, "-") != 0) {
988 if ((in = fopen(identity_file, "r")) == NULL) { 988 if ((in = fopen(identity_file, "r")) == NULL) {
989 fatal("Couldn't open modulus candidate " 989 fatal("Couldn't open modulus candidate "
990 "file \"%s\": %s", identity_file, 990 "file \"%s\": %s", identity_file,
991 strerror(errno)); 991 strerror(errno));
992 } 992 }
993 } else 993 } else