File tree 3 files changed +11
-5
lines changed
fullstack/freertos-wolfip-wolfmqtt
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 26
26
#define _GNU_SOURCE
27
27
#endif
28
28
29
+ /* Security hardening */
30
+ #define WC_RSA_BLINDING
31
+ #define ECC_TIMING_RESISTANT
32
+ #define WC_TIMING_RESISTANT
33
+
34
+ /* TLS Certificate Paths */
35
+ #define MQTT_TLS_CA_CERT "../../../wolfssl/certs/ca-cert.pem"
36
+ #define MQTT_TLS_CLIENT_CERT "../../../wolfssl/certs/client-cert.pem"
37
+ #define MQTT_TLS_CLIENT_KEY "../../../wolfssl/certs/client-key.pem"
38
+
29
39
/* wolfSSL TLS configuration */
30
40
#define WOLFSSL_TLS13
31
41
#define WOLFSSL_TLS13_NO_OLD_TLS
Original file line number Diff line number Diff line change @@ -38,11 +38,6 @@ word16 mqtt_get_packetid(void);
38
38
#define MQTT_CLIENT_ID "FreeRTOS_Client"
39
39
#define MQTT_TEST_TOPIC "test/topic"
40
40
41
- /* TLS Configuration */
42
- #define MQTT_TLS_CA_CERT "../../../wolfssl/certs/ca-cert.pem"
43
- #define MQTT_TLS_CLIENT_CERT "../../../wolfssl/certs/client-cert.pem"
44
- #define MQTT_TLS_CLIENT_KEY "../../../wolfssl/certs/client-key.pem"
45
-
46
41
/* Task Configuration */
47
42
#define MQTT_TASK_STACK_SIZE (16 * 1024)
48
43
#define MQTT_TASK_PRIORITY (tskIDLE_PRIORITY + 2)
Original file line number Diff line number Diff line change 22
22
#ifndef MQTT_NET_H
23
23
#define MQTT_NET_H
24
24
25
+ #include "../include/user_settings.h"
25
26
#include "wolfip.h"
26
27
#include <wolfssl/ssl.h>
27
28
#include <wolfmqtt/mqtt_client.h>
You can’t perform that action at this time.
0 commit comments