forked from wolfSSL/wolfssl
Merge pull request #6282 from dgarske/fix_heapmath
Fix for including integer.h when heap math is not used
This commit is contained in:
@ -34,9 +34,13 @@
|
|||||||
* designs.
|
* designs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/wolfmath.h>
|
#ifndef USE_INTEGER_HEAP_MATH
|
||||||
|
|
||||||
#ifdef USE_INTEGER_HEAP_MATH
|
/* Some platforms (like FIPS) may only include integer.h for math. */
|
||||||
|
/* Handle variations of fast math, integer and sp math */
|
||||||
|
#include <wolfssl/wolfcrypt/wolfmath.h>
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/random.h>
|
#include <wolfssl/wolfcrypt/random.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user