add wolfSSL version print out to benchmark app

This commit is contained in:
Jacob Barthelmeh
2018-09-14 14:17:49 -06:00
parent fb699acec4
commit 04c444af35

View File

@ -28,6 +28,7 @@
#endif
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/version.h>
/* Macro to disable benchmark */
#ifndef NO_CRYPT_BENCHMARK
@ -1557,6 +1558,12 @@ int benchmark_test(void *args)
(void)args;
printf(
"------------------------------------------------------------------------------"
"\n wolfSSL version %s\n"
"------------------------------------------------------------------------------"
"\n", LIBWOLFSSL_VERSION_STRING);
ret = benchmark_init();
if (ret != 0)
EXIT_TEST(ret);