diff options
author | Andy Polyakov <appro@openssl.org> | 2011-08-22 19:01:16 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-08-22 19:01:16 +0000 |
commit | c2d4c2867b517ca9114cc80503e3ba18e6bc8a83 (patch) | |
tree | 7daf851a8ecee3e748fee256d39ff141e9a82fd5 | |
parent | 46883b67deeec2a6e4ed5ab374d101d27d9b8e21 (diff) |
eng_rsax.c: improve portability.
-rw-r--r-- | crypto/engine/eng_rsax.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crypto/engine/eng_rsax.c b/crypto/engine/eng_rsax.c index 3ac265cf7d..cbe8419a4c 100644 --- a/crypto/engine/eng_rsax.c +++ b/crypto/engine/eng_rsax.c @@ -227,10 +227,13 @@ static int e_rsax_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void)) #ifndef OPENSSL_NO_RSA -#include <stdint.h> -typedef uint64_t UINT64; -typedef uint16_t UINT16; +#ifdef _WIN32 +typedef unsigned __int64 UINT64; +#else +typedef unsigned long long UINT64; +#endif +typedef unsigned short UINT16; /* Table t is interleaved in the following manner: * The order in memory is t[0][0], t[0][1], ..., t[0][7], t[1][0], ... |