Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/wh_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

/* Server API's */
#include "wolfhsm/wh_server.h"
#include "wolfhsm/wh_utils.h"
#include "wolfhsm/wh_server_nvm.h"
#ifdef WOLFHSM_CFG_ENABLE_AUTHENTICATION
#include "wolfhsm/wh_auth.h"
Expand Down Expand Up @@ -190,7 +191,7 @@ int wh_Server_Cleanup(whServerContext* server)
(void)wh_Log_Cleanup(&server->log);
#endif /* WOLFHSM_CFG_LOGGING */

memset(server, 0, sizeof(*server));
wh_Utils_ForceZero(server, sizeof(*server));

return WH_ERROR_OK;
}
Expand Down
Loading