Skip to content

Commit 34ec414

Browse files
committed
Fixes for the https fullstack-simulator demo
1 parent 6d96701 commit 34ec414

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

fullstack/freertos-wolfip-wolfssl-https/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
77

88
# wolfSSL configuration
99
add_definitions(-DWOLFSSL_USER_SETTINGS)
10+
add_definitions(-DWOLFSSL_WOLFIP)
1011

1112
# FreeRTOS Kernel source files for POSIX port
1213
set(FREERTOS_PORT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/freertos/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix)

fullstack/freertos-wolfip-wolfssl-https/src/https_server.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#define HTTPS_TASK_PRIORITY (tskIDLE_PRIORITY + 2)
3535

3636
/* Certificate paths */
37-
#define CERT_FILE "./certs/server-cert.pem"
38-
#define KEY_FILE "./certs/server-key.pem"
39-
#define CA_FILE "./certs/ca-cert.pem"
37+
#define CERT_FILE "../../../../wolfssl/certs/server-cert.pem"
38+
#define KEY_FILE "../../../../wolfssl/certs/server-key.pem"
39+
#define CA_FILE "../../../../wolfssl/certs/ca-cert.pem"
4040

4141
/* Initialize HTTPS server with wolfSSL and wolfIP */
4242
int https_server_init(struct wolfIP *ipstack);

0 commit comments

Comments
 (0)