Skip to content

Commit

Permalink
use_wolfssl: Adjust Buildinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoftsm committed Apr 25, 2024
1 parent bb54f38 commit 174a4ad
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/daemon/buildinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ typedef enum __attribute__((packed)) {
BIB_EXPORT_SHELL,
BIB_DEVEL_TRACE_ALLOCATIONS,
BIB_DEVELOPER_MODE,
BIB_LIB_WOLFSSL,

// leave this last
BIB_TERMINATOR,
Expand Down Expand Up @@ -994,6 +995,14 @@ static struct {
.json = "dev-mode",
.value = NULL,
},
[BIB_LIB_WOLFSSL] = {
.category = BIC_LIBS,
.type = BIT_BOOLEAN,
.analytics = NULL,
.print = "WolfSSL (cryptography)",
.json = "wolfssl",
.value = NULL,
},

// leave this last
[BIB_TERMINATOR] = {
Expand Down Expand Up @@ -1155,6 +1164,9 @@ __attribute__((constructor)) void initialize_build_info(void) {
#ifdef ENABLE_OPENSSL
build_info_set_status(BIB_LIB_OPENSSL, true);
#endif
#ifdef ENABLE_WOLFSSL
build_info_set_status(BIB_LIB_WOLFSSL, true);
#endif
#ifdef ENABLE_JSONC
build_info_set_status(BIB_LIB_JSONC, true);
#endif
Expand Down

0 comments on commit 174a4ad

Please sign in to comment.