forked from wolfSSL/wolfssl
Fix for examples/benchmark/tls_bench.c:114:20: error: unused variable 'kShutdown'
with WOLFCRYPT_ONLY
.
This commit is contained in:
@@ -110,12 +110,12 @@ bench_tls(args);
|
|||||||
#define MEM_BUFFER_SZ (TEST_PACKET_SIZE + 38 + WC_MAX_DIGEST_SIZE)
|
#define MEM_BUFFER_SZ (TEST_PACKET_SIZE + 38 + WC_MAX_DIGEST_SIZE)
|
||||||
#define SHOW_VERBOSE 0 /* Default output is tab delimited format */
|
#define SHOW_VERBOSE 0 /* Default output is tab delimited format */
|
||||||
|
|
||||||
/* shutdown message - nice signal to server, we are done */
|
|
||||||
static const char* kShutdown = "shutdown";
|
|
||||||
|
|
||||||
#if (!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
#if (!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
||||||
!defined(WOLFCRYPT_ONLY)
|
!defined(WOLFCRYPT_ONLY)
|
||||||
|
|
||||||
|
/* shutdown message - nice signal to server, we are done */
|
||||||
|
static const char* kShutdown = "shutdown";
|
||||||
|
|
||||||
#ifndef NO_WOLFSSL_CLIENT
|
#ifndef NO_WOLFSSL_CLIENT
|
||||||
static const char* kTestStr =
|
static const char* kTestStr =
|
||||||
"Biodiesel cupidatat marfa, cliche aute put a bird on it incididunt elit\n"
|
"Biodiesel cupidatat marfa, cliche aute put a bird on it incididunt elit\n"
|
||||||
|
Reference in New Issue
Block a user