Move primes to read-only segment.
[openssl.git] / crypto / bn / bn_prime.pl
index bfe577643aa55b9c0f8f61100de9a6b65660d919..9fc376548652801d9ef0207c98ba68a95e3bba25 100644 (file)
@@ -104,7 +104,7 @@ printf "#define NUMPRIMES %d\n",$num;
 printf "#else\n";
 printf "#define NUMPRIMES %d\n",$eight;
 printf "#endif\n";
-print "static unsigned int primes[NUMPRIMES]=\n\t{\n\t";
+print "static const unsigned int primes[NUMPRIMES]=\n\t{\n\t";
 $init=0;
 for ($i=0; $i <= $#primes; $i++)
        {