Skip to content

Commit

Permalink
TLS: drop support for 1.1
Browse files Browse the repository at this point in the history
Depending on who you ask it's either EOL already or EOL soon, so
we may as well get rid of it now.
  • Loading branch information
nwf committed Dec 22, 2019
1 parent d0a33b6 commit 67b8704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/include/user_mbedtls.h
Expand Up @@ -151,7 +151,7 @@

#undef MBEDTLS_SSL_PROTO_SSL3
#undef MBEDTLS_SSL_PROTO_TLS1
#define MBEDTLS_SSL_PROTO_TLS1_1
#undef MBEDTLS_SSL_PROTO_TLS1_1
#define MBEDTLS_SSL_PROTO_TLS1_2
#undef MBEDTLS_SSL_PROTO_DTLS

Expand Down Expand Up @@ -214,7 +214,7 @@
#define MBEDTLS_MD_C
#undef MBEDTLS_MD2_C
#undef MBEDTLS_MD4_C
#define MBEDTLS_MD5_C /* Remove when we drop support for TLS 1.1 */
#undef MBEDTLS_MD5_C
#undef MBEDTLS_MEMORY_BUFFER_ALLOC_C
#define MBEDTLS_NET_C
#define MBEDTLS_OID_C
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/tls.md
Expand Up @@ -10,7 +10,7 @@

NodeMCU includes the open-source version of [mbed TLS library](https://tls.mbed.org/).

With the NodeMCU default configuration it supports **TLS** 1.1 and 1.2 with
With the NodeMCU default configuration it supports **TLS** 1.2 with
most common features supported. Specifically, it provides:

- ciphers: AES, Camellia
Expand Down

0 comments on commit 67b8704

Please sign in to comment.