diff options
Diffstat (limited to 'src/lib/libssl/src/crypto/bn/bn_prime.h')
-rw-r--r-- | src/lib/libssl/src/crypto/bn/bn_prime.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/src/crypto/bn/bn_prime.h b/src/lib/libssl/src/crypto/bn/bn_prime.h index b7cf9a9bfe..51d2194feb 100644 --- a/src/lib/libssl/src/crypto/bn/bn_prime.h +++ b/src/lib/libssl/src/crypto/bn/bn_prime.h | |||
@@ -58,10 +58,12 @@ | |||
58 | 58 | ||
59 | #ifndef EIGHT_BIT | 59 | #ifndef EIGHT_BIT |
60 | #define NUMPRIMES 2048 | 60 | #define NUMPRIMES 2048 |
61 | typedef unsigned short prime_t; | ||
61 | #else | 62 | #else |
62 | #define NUMPRIMES 54 | 63 | #define NUMPRIMES 54 |
64 | typedef unsigned char prime_t; | ||
63 | #endif | 65 | #endif |
64 | static const unsigned int primes[NUMPRIMES]= | 66 | static const prime_t primes[NUMPRIMES]= |
65 | { | 67 | { |
66 | 2, 3, 5, 7, 11, 13, 17, 19, | 68 | 2, 3, 5, 7, 11, 13, 17, 19, |
67 | 23, 29, 31, 37, 41, 43, 47, 53, | 69 | 23, 29, 31, 37, 41, 43, 47, 53, |