projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correct error code
[oweals/openssl.git]
/
crypto
/
bn
/
bn_prime.h
diff --git
a/crypto/bn/bn_prime.h
b/crypto/bn/bn_prime.h
index b7cf9a9bfe124d9361686fdc8b9d4010b8f6e8fc..51d2194febdb66268674ec31e062a1fdaa5c3944 100644
(file)
--- a/
crypto/bn/bn_prime.h
+++ b/
crypto/bn/bn_prime.h
@@
-58,10
+58,12
@@
#ifndef EIGHT_BIT
#define NUMPRIMES 2048
#ifndef EIGHT_BIT
#define NUMPRIMES 2048
+typedef unsigned short prime_t;
#else
#define NUMPRIMES 54
#else
#define NUMPRIMES 54
+typedef unsigned char prime_t;
#endif
#endif
-static const
unsigned in
t primes[NUMPRIMES]=
+static const
prime_
t primes[NUMPRIMES]=
{
2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 37, 41, 43, 47, 53,
{
2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 37, 41, 43, 47, 53,