From 79595a3602c2d3c2f67ac205b4a379882e13b434 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 16 May 2024 09:48:56 -0600 Subject: [PATCH] account for sp math which defines NO_BIG_INT but still allows mp_int types --- wolfssl/openssl/bn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/openssl/bn.h b/wolfssl/openssl/bn.h index 5a77236ca..d5ad52bbc 100644 --- a/wolfssl/openssl/bn.h +++ b/wolfssl/openssl/bn.h @@ -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;