use explicitly sized types for U_LLONG U_LONG and LONG; otherwise bn
breaks on 64 bit platforms. The "LONG" openssl wants is really a 32 bit int.
This commit is contained in:
parent
8935d3bf0f
commit
bfae00e6c7
|
@ -169,11 +169,11 @@ extern "C" {
|
||||||
# if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__)
|
# if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__)
|
||||||
# define BN_ULLONG unsigned __int64
|
# define BN_ULLONG unsigned __int64
|
||||||
# else
|
# else
|
||||||
# define BN_ULLONG unsigned long long
|
# define BN_ULLONG u_int64_t
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#define BN_ULONG unsigned long
|
#define BN_ULONG u_int32_t
|
||||||
#define BN_LONG long
|
#define BN_LONG int32_t
|
||||||
#define BN_BITS 64
|
#define BN_BITS 64
|
||||||
#define BN_BYTES 4
|
#define BN_BYTES 4
|
||||||
#define BN_BITS2 32
|
#define BN_BITS2 32
|
||||||
|
|
Loading…
Reference in New Issue