summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/mbedtls/mbedtls_config_common.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-10-05 10:48:31 +1100
committerDamien George <damien@micropython.org>2022-10-22 19:06:21 +1100
commit9347545f9ee66210a835cb2f1e9860949feb139f (patch)
tree6f18e96a475a4bf308c9214552b7ec26f832ae3a /extmod/mbedtls/mbedtls_config_common.h
parentb33767896430a36f163c0f9bb7020e688ccb9c5b (diff)
downloadmicropython-9347545f9ee66210a835cb2f1e9860949feb139f.tar.gz
micropython-9347545f9ee66210a835cb2f1e9860949feb139f.zip
extmod/mbedtls: Enable MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE.
This was already enabled on all ports except mimxrt. Now it's enabled on all of them. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/mbedtls/mbedtls_config_common.h')
-rw-r--r--extmod/mbedtls/mbedtls_config_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/mbedtls/mbedtls_config_common.h b/extmod/mbedtls/mbedtls_config_common.h
index 6c9385dea5..4c2be6228a 100644
--- a/extmod/mbedtls/mbedtls_config_common.h
+++ b/extmod/mbedtls/mbedtls_config_common.h
@@ -82,6 +82,7 @@
#define MBEDTLS_SSL_CLI_C
#define MBEDTLS_SSL_SRV_C
#define MBEDTLS_SSL_TLS_C
+#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
#define MBEDTLS_X509_CRT_PARSE_C
#define MBEDTLS_X509_USE_C