Fix for SP math build in OpenSSL bn.h

This commit is contained in:
Sean Parkinson
2019-06-20 21:40:58 +10:00
parent c82c9b481b
commit b631670cca

View File

@ -40,7 +40,9 @@
typedef struct WOLFSSL_BIGNUM {
int neg; /* openssh deference */
void *internal; /* our big num */
#if defined(USE_FAST_MATH) && !defined(HAVE_WOLF_BIGINT)
#ifdef WOLFSSL_SP_MATH
sp_int fp;
#elif defined(USE_FAST_MATH) && !defined(HAVE_WOLF_BIGINT)
fp_int fp;
#endif
} WOLFSSL_BIGNUM;