File tree Expand file tree Collapse file tree
examples/posix/wh_posix_server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
22 * Example server app using POSIX transport
33 */
4- #if defined(WOLFHSM_CFG_NO_CRYPTO )
5- #include <stdio.h> /* For printf */
6- #include <stdlib.h> /* For atoi */
7- #include <string.h> /* For memset, memcpy, strcmp */
8- #include <sys/types.h>
9- #include <ctype.h>
10- #endif
4+ /*#if defined(WOLFHSM_CFG_NO_CRYPTO)*/
115#include "wh_posix_cfg.h"
126#include "wh_posix_server_cfg.h"
137
Original file line number Diff line number Diff line change @@ -44,9 +44,11 @@ typedef struct whServerContext_t whServerContext;
4444#include "wolfhsm/wh_dma.h"
4545#endif /* WOLFHSM_CFG_DMA */
4646
47+ /* WolfCrypt types and defines */
48+ #include "wolfssl/wolfcrypt/types.h"
49+
4750#ifndef WOLFHSM_CFG_NO_CRYPTO
4851#include "wolfssl/wolfcrypt/settings.h"
49- #include "wolfssl/wolfcrypt/types.h"
5052#include "wolfssl/wolfcrypt/random.h"
5153#include "wolfssl/wolfcrypt/rsa.h"
5254#include "wolfssl/wolfcrypt/ecc.h"
You can’t perform that action at this time.
0 commit comments