forked from wolfSSL/wolfssl
@@ -299,6 +299,10 @@ static int ClientBenchmarkThroughput(WOLFSSL_CTX* ctx, char* host, word16 port,
|
|||||||
|
|
||||||
/* Compare TX and RX buffers */
|
/* Compare TX and RX buffers */
|
||||||
if(XMEMCMP(tx_buffer, rx_buffer, len) != 0) {
|
if(XMEMCMP(tx_buffer, rx_buffer, len) != 0) {
|
||||||
|
free(tx_buffer);
|
||||||
|
tx_buffer = NULL;
|
||||||
|
free(rx_buffer);
|
||||||
|
rx_buffer = NULL;
|
||||||
err_sys("Compare TX and RX buffers failed");
|
err_sys("Compare TX and RX buffers failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -10032,7 +10032,7 @@ static int ecc_test_curve(WC_RNG* rng, int keySize)
|
|||||||
|
|
||||||
#if !defined(WOLFSSL_ATECC508A) && defined(HAVE_ECC_KEY_IMPORT) && \
|
#if !defined(WOLFSSL_ATECC508A) && defined(HAVE_ECC_KEY_IMPORT) && \
|
||||||
defined(HAVE_ECC_KEY_EXPORT)
|
defined(HAVE_ECC_KEY_EXPORT)
|
||||||
static int ecc_point_test()
|
static int ecc_point_test(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
ecc_point* point;
|
ecc_point* point;
|
||||||
|
Reference in New Issue
Block a user