script is run. This is more of an issue with uint16_t now than it
was with prime_t aka BN_ULONG before r1.6.
$num=2048;
$num=$ARGV[0] if ($#ARGV >= 0);
+# The 6543rd prime is 2^16 + 1.
+die "$num must be smaller than 6543" if $num >= 6543;
+
push(@primes,2);
$p=1;
loop: while ($#primes < $num-1)
} else {
printf(" ");
}
+ die "\$primes[$i] is too large: $primes[$i]" if $primes[$i] > 65535;
printf("%5d,",$primes[$i]);
}
print "\n};\n";