account for sp math which defines NO_BIG_INT but still allows mp_int types

This commit is contained in:
JacobBarthelmeh
2024-05-16 09:48:56 -06:00
parent 10740abf9b
commit 79595a3602

View File

@@ -40,7 +40,7 @@
typedef struct WOLFSSL_BIGNUM {
int neg; /* openssh deference */
void *internal; /* our big num */
#ifndef NO_BIG_INT
#if !defined(NO_BIG_INT) || defined(WOLFSSL_SP_MATH)
mp_int mpi;
#endif
} WOLFSSL_BIGNUM;