[BACK]Return to ssh-keygen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh-keygen.c between version 1.114 and 1.115

version 1.114, 2004/05/08 00:21:31 version 1.115, 2004/05/09 00:06:47
Line 27 
Line 27 
 #include "pathnames.h"  #include "pathnames.h"
 #include "log.h"  #include "log.h"
 #include "misc.h"  #include "misc.h"
 #include "moduli.h"  
   
 #ifdef SMARTCARD  #ifdef SMARTCARD
 #include "scard.h"  #include "scard.h"
Line 81 
Line 80 
   
 char hostname[MAXHOSTNAMELEN];  char hostname[MAXHOSTNAMELEN];
   
   /* moduli.c */
   int gen_candidates(FILE *, int, int, BIGNUM *);
   int prime_test(FILE *, FILE *, u_int32_t, u_int32_t);
   
 static void  static void
 ask_filename(struct passwd *pw, const char *prompt)  ask_filename(struct passwd *pw, const char *prompt)
 {  {
Line 902 
Line 905 
                         break;                          break;
                 case 'a':                  case 'a':
                         trials = atoi(optarg);                          trials = atoi(optarg);
                         if (trials < TRIAL_MINIMUM) {  
                                 fatal("Minimum primality trials is %d",  
                                     TRIAL_MINIMUM);  
                         }  
                         break;                          break;
                 case 'M':                  case 'M':
                         memory = atoi(optarg);                          memory = atoi(optarg);
                         if (memory != 0 &&  
                            (memory < LARGE_MINIMUM || memory > LARGE_MAXIMUM)) {  
                                 fatal("Invalid memory amount (min %ld, max %ld)",  
                                     LARGE_MINIMUM, LARGE_MAXIMUM);  
                         }  
                         break;                          break;
                 case 'G':                  case 'G':
                         do_gen_candidates = 1;                          do_gen_candidates = 1;

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115