forked from wolfSSL/wolfssl
wolfssl/wolfcrypt/settings.h: define WOLFSSL_SP_INT_DIGIT_ALIGN when target is MIPS, to fix a crash in sp_read_unsigned_bin().
This commit is contained in:
@ -1928,6 +1928,11 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#define XGEN_ALIGN
|
#define XGEN_ALIGN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__mips) || defined(__mips64) || \
|
||||||
|
defined(WOLFSSL_SP_MIPS64) || defined(WOLFSSL_SP_MIPS)
|
||||||
|
#undef WOLFSSL_SP_INT_DIGIT_ALIGN
|
||||||
|
#define WOLFSSL_SP_INT_DIGIT_ALIGN
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __INTEL_COMPILER
|
#ifdef __INTEL_COMPILER
|
||||||
#pragma warning(disable:2259) /* explicit casts to smaller sizes, disable */
|
#pragma warning(disable:2259) /* explicit casts to smaller sizes, disable */
|
||||||
|
Reference in New Issue
Block a user