summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2000-02-16 13:24:06 +0000
committerAndy Polyakov <appro@openssl.org>2000-02-16 13:24:06 +0000
commit8691ff97a198db7c54e792cc8dadb9aa4cc8543d (patch)
tree204b588b775e0202a1da30122652d6d6bdcb6297 /crypto/bn/bn_prime.pl
parentbd44570322940cf1d1e01ad27c9e1949806a06cd (diff)
Move primes to read-only segment.
Diffstat (limited to 'crypto/bn/bn_prime.pl')
-rw-r--r--crypto/bn/bn_prime.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_prime.pl b/crypto/bn/bn_prime.pl
index bfe577643a..9fc3765486 100644
--- a/crypto/bn/bn_prime.pl
+++ b/crypto/bn/bn_prime.pl
@@ -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++)
{