forked from wolfSSL/wolfssl
add wolfSSL version print out to benchmark app
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
|
#include <wolfssl/version.h>
|
||||||
|
|
||||||
/* Macro to disable benchmark */
|
/* Macro to disable benchmark */
|
||||||
#ifndef NO_CRYPT_BENCHMARK
|
#ifndef NO_CRYPT_BENCHMARK
|
||||||
@@ -1557,6 +1558,12 @@ int benchmark_test(void *args)
|
|||||||
|
|
||||||
(void)args;
|
(void)args;
|
||||||
|
|
||||||
|
printf(
|
||||||
|
"------------------------------------------------------------------------------"
|
||||||
|
"\n wolfSSL version %s\n"
|
||||||
|
"------------------------------------------------------------------------------"
|
||||||
|
"\n", LIBWOLFSSL_VERSION_STRING);
|
||||||
|
|
||||||
ret = benchmark_init();
|
ret = benchmark_init();
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
EXIT_TEST(ret);
|
EXIT_TEST(ret);
|
||||||
|
Reference in New Issue
Block a user