summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.h
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2008-09-21 14:56:30 +0000
committersimon <simon@FreeBSD.org>2008-09-21 14:56:30 +0000
commit859b6dcfcc8295a0eac4afbc70e4d42aa512674a (patch)
treea136b5b2317abe8eb83b021afe5e088230fd67e2 /crypto/bn/bn_prime.h
parentfe745806aa8bec66ca79fe8f032ad472261ba789 (diff)
downloadFreeBSD-src-859b6dcfcc8295a0eac4afbc70e4d42aa512674a.zip
FreeBSD-src-859b6dcfcc8295a0eac4afbc70e4d42aa512674a.tar.gz
Vendor import of OpenSSL 0.9.8i.
Diffstat (limited to 'crypto/bn/bn_prime.h')
-rw-r--r--crypto/bn/bn_prime.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/bn_prime.h b/crypto/bn/bn_prime.h
index b7cf9a9..51d2194 100644
--- a/crypto/bn/bn_prime.h
+++ b/crypto/bn/bn_prime.h
@@ -58,10 +58,12 @@
#ifndef EIGHT_BIT
#define NUMPRIMES 2048
+typedef unsigned short prime_t;
#else
#define NUMPRIMES 54
+typedef unsigned char prime_t;
#endif
-static const unsigned int primes[NUMPRIMES]=
+static const prime_t primes[NUMPRIMES]=
{
2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 37, 41, 43, 47, 53,
OpenPOWER on IntegriCloud