eng_rsax.c: improve portability.

This commit is contained in:
Andy Polyakov 2011-08-22 19:01:16 +00:00
parent 46883b67de
commit c2d4c2867b

View File

@ -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], ...