summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index af55e764f..54eca596d 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -293,6 +293,10 @@ typedef struct _mp_state_thread_t {
bool prof_callback_is_executing;
struct _mp_code_state_t *current_code_state;
#endif
+
+ #if MICROPY_PY_SSL_MBEDTLS_NEED_ACTIVE_CONTEXT
+ struct _mp_obj_ssl_context_t *tls_ssl_context;
+ #endif
} mp_state_thread_t;
// This structure combines the above 3 structures.