projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfb23f
)
eng_rsax.c: improve portability [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Mon, 22 Aug 2011 19:01:41 +0000
(19:01 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 22 Aug 2011 19:01:41 +0000
(19:01 +0000)
crypto/engine/eng_rsax.c
patch
|
blob
|
history
diff --git
a/crypto/engine/eng_rsax.c
b/crypto/engine/eng_rsax.c
index 3ac265cf7de2835bf8be893da6fe999dcfc5303c..cbe8419a4c0171c50387b53cc5ffce2bb8009301 100644
(file)
--- 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], ...