File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 3636/* If uncommented TA should be configured via constructor */
3737//#define ARDUINO_BEARSSL_DISABLE_BUILTIN_TRUST_ANCHORS
3838
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+
3953#define BEAR_SSL_CLIENT_CHAIN_SIZE 1
4054
4155#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