Merge pull request #7158 from JacobBarthelmeh/psk

warning fix for small PSK build
This commit is contained in:
David Garske
2024-05-16 12:57:08 -07:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -26879,7 +26879,9 @@ static int ParseCipherList(Suites* suites,
suites->setSuites = 1;
}
#ifdef NO_CERTS
(void)privateKeySz;
#endif
return ret;
}

View File

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