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>
This commit is contained in:
parent
b337678964
commit
9347545f9e
|
@ -82,6 +82,7 @@
|
||||||
#define MBEDTLS_SSL_CLI_C
|
#define MBEDTLS_SSL_CLI_C
|
||||||
#define MBEDTLS_SSL_SRV_C
|
#define MBEDTLS_SSL_SRV_C
|
||||||
#define MBEDTLS_SSL_TLS_C
|
#define MBEDTLS_SSL_TLS_C
|
||||||
|
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
|
||||||
#define MBEDTLS_X509_CRT_PARSE_C
|
#define MBEDTLS_X509_CRT_PARSE_C
|
||||||
#define MBEDTLS_X509_USE_C
|
#define MBEDTLS_X509_USE_C
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#define MBEDTLS_ECDH_C
|
#define MBEDTLS_ECDH_C
|
||||||
#define MBEDTLS_ECP_C
|
#define MBEDTLS_ECP_C
|
||||||
#define MBEDTLS_GCM_C
|
#define MBEDTLS_GCM_C
|
||||||
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
|
|
||||||
#define MBEDTLS_HAVE_TIME
|
#define MBEDTLS_HAVE_TIME
|
||||||
#define MBEDTLS_HAVE_TIME_DATE
|
#define MBEDTLS_HAVE_TIME_DATE
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
|
|
||||||
// Enable mbedtls modules
|
// Enable mbedtls modules
|
||||||
// #define MBEDTLS_ECP_C
|
// #define MBEDTLS_ECP_C
|
||||||
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
|
|
||||||
|
|
||||||
// Set MicroPython-specific options.
|
// Set MicroPython-specific options.
|
||||||
#define MICROPY_MBEDTLS_CONFIG_BARE_METAL (1)
|
#define MICROPY_MBEDTLS_CONFIG_BARE_METAL (1)
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
// Enable mbedtls modules
|
// Enable mbedtls modules
|
||||||
#define MBEDTLS_HAVEGE_C
|
#define MBEDTLS_HAVEGE_C
|
||||||
#define MBEDTLS_TIMING_C
|
#define MBEDTLS_TIMING_C
|
||||||
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_KEY_EXCHANGE
|
|
||||||
|
|
||||||
// Include common mbedtls configuration.
|
// Include common mbedtls configuration.
|
||||||
#include "extmod/mbedtls/mbedtls_config_common.h"
|
#include "extmod/mbedtls/mbedtls_config_common.h"
|
||||||
|
|
Loading…
Reference in New Issue