summaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-08-22 19:01:41 +0000
committerAndy Polyakov <appro@openssl.org>2011-08-22 19:01:41 +0000
commitf56f72f2191ce94bd94b5000b9308c24c1ec9b3b (patch)
treeaf9853b88b3236875c463d6e1c0b04cafbc2c7e5 /crypto/engine
parent2bfb23f102361232064e7186c5a5fd9be96dacdd (diff)
eng_rsax.c: improve portability [from HEAD].
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/eng_rsax.c9
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], ...