10000 extmod/mbedtls: Enable MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE. · micropython/micropython@2b9bee8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b9bee8

Browse files
committed
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>
1 parent 895a93f commit 2b9bee8

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

extmod/mbedtls/mbedtls_config_common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
#define MBEDTLS_SSL_CLI_C
8383
#define MBEDTLS_SSL_SRV_C
8484
#define MBEDTLS_SSL_TLS_C
85+
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
8586
#define MBEDTLS_X509_CRT_PARSE_C
8687
#define MBEDTLS_X509_USE_C
8788

ports/rp2/mbedtls/mbedtls_config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#define MBEDTLS_ECDH_C
3535
#define MBEDTLS_ECP_C
3636
#define MBEDTLS_GCM_C
37-
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
3837
#define MBEDTLS_HAVE_TIME
3938
#define MBEDTLS_HAVE_TIME_DATE
4039

ports/stm32/mbedtls/mbedtls_config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
// Enable mbedtls modules
3030
// #define MBEDTLS_ECP_C
31-
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
3231

3332
// Set MicroPython-specific options.
3433
#define MICROPY_MBEDTLS_CONFIG_BARE_METAL (1)

ports/unix/mbedtls/mbedtls_config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
// Enable mbedtls modules
3333
#define MBEDTLS_HAVEGE_C
3434
#define MBEDTLS_TIMING_C
35-
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
3635

3736
// Include common mbedtls configuration.
3837
#include "extmod/mbedtls/mbedtls_config_common.h"

0 commit comments

Comments
 (0)
0