mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
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.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
|
Reference in New Issue
Block a user