Skip to content

Commit a8dd736

Browse files
authored
Merge pull request #7158 from JacobBarthelmeh/psk
warning fix for small PSK build
2 parents dd55542 + 79595a3 commit a8dd736

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/internal.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26879,7 +26879,9 @@ static int ParseCipherList(Suites* suites,
2687926879
suites->setSuites = 1;
2688026880
}
2688126881

26882+
#ifdef NO_CERTS
2688226883
(void)privateKeySz;
26884+
#endif
2688326885

2688426886
return ret;
2688526887
}

wolfssl/openssl/bn.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
typedef struct WOLFSSL_BIGNUM {
4141
int neg; /* openssh deference */
4242
void *internal; /* our big num */
43+
#if !defined(NO_BIG_INT) || defined(WOLFSSL_SP_MATH)
4344
mp_int mpi;
45+
#endif
4446
} WOLFSSL_BIGNUM;
4547

4648
#define WOLFSSL_BN_ULONG unsigned long

0 commit comments

Comments
 (0)