File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 36
36
/* If uncommented TA should be configured via constructor */
37
37
//#define ARDUINO_BEARSSL_DISABLE_BUILTIN_TRUST_ANCHORS
38
38
39
+ /* If uncommented disables br_sslio_close call.From BearSSL docs:
40
+ *
41
+ * br_sslio_close(): perform the SSL closure protocol. This entails sending a
42
+ * close_notify alert, and receiving a close_notify response.
43
+ *
44
+ * Note that a number of deployed SSL implementations do not follow the protocol
45
+ * for closure, and may drop the underlying socket abruptly. As such, errors are
46
+ * often reported by br_sslio_close().
47
+ *
48
+ * In case of mbed-os + ArduinoIoTCloud br_sslio_close is endless looping
49
+ * blocking sketch execution.
50
+ */
51
+ #define ARDUINO_BEARSSL_DISABLE_TLS_CLOSE
52
+
39
53
#define BEAR_SSL_CLIENT_CHAIN_SIZE 1
40
54
41
55
#if defined(ARDUINO_PORTENTA_H7_M7 ) || defined(ARDUINO_NICLA_VISION ) || defined(ARDUINO_OPTA ) || \
You can’t perform that action at this time.
0 commit comments