Skip to content

Commit 10740ab

Browse files
warning fix for small PSK build
1 parent a77c6d1 commit 10740ab

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
@@ -26678,7 +26678,9 @@ static int ParseCipherList(Suites* suites,
2667826678
suites->setSuites = 1;
2667926679
}
2668026680

26681+
#ifdef NO_CERTS
2668126682
(void)privateKeySz;
26683+
#endif
2668226684

2668326685
return ret;
2668426686
}

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+
#ifndef NO_BIG_INT
4344
mp_int mpi;
45+
#endif
4446
} WOLFSSL_BIGNUM;
4547

4648
#define WOLFSSL_BN_ULONG unsigned long

0 commit comments

Comments
 (0)