Skip to content

Commit 4dd75ed

Browse files
add wolfssl version to help print out message
1 parent 931c4bc commit 4dd75ed

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/tools/clu_funcs.c

+10-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,16 @@ static const struct option crypt_algo_options[] = {
6060
* generic help function
6161
*/
6262
void wolfCLU_help(void)
63-
{ WOLFCLU_LOG(WOLFCLU_L0, " ");
63+
{
64+
WOLFCLU_LOG(WOLFCLU_L0, "Linked with wolfSSL version %s%s",
65+
LIBWOLFSSL_VERSION_STRING,
66+
#ifdef HAVE_FIPS
67+
": using FIPS mode"
68+
#else
69+
""
70+
#endif
71+
);
72+
WOLFCLU_LOG(WOLFCLU_L0, " ");
6473
WOLFCLU_LOG(WOLFCLU_L0, "-help Help, print out this help menu");
6574
WOLFCLU_LOG(WOLFCLU_L0, " ");
6675
WOLFCLU_LOG(WOLFCLU_L0, "Only set one of the following.\n");

0 commit comments

Comments
 (0)