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

Diff for /src/usr.bin/ssh/dh.c between version 1.45 and 1.46

version 1.45, 2007/09/27 00:15:57 version 1.46, 2008/04/13 00:22:17
Line 150 
Line 150 
         }          }
   
         linenum = 0;          linenum = 0;
         which = arc4random() % bestcount;          which = arc4random_uniform(bestcount);
         while (fgets(line, sizeof(line), f)) {          while (fgets(line, sizeof(line), f)) {
                 if (!parse_prime(linenum, line, &dhg))                  if (!parse_prime(linenum, line, &dhg))
                         continue;                          continue;

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46