Commit c2d4c286 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

eng_rsax.c: improve portability.

parent 46883b67
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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], ...