Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
legacy_protocols & zlib is removed in mbedtls 3.X
  • Loading branch information
Taowyoo committed May 2, 2023
1 parent 3d45727 commit 64207ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This is a list of the Cargo features available for mbedtls. Features in
unsupported processors. On SGX, this feature is
enabled automatically.
* *mpi_force_c_code* Enables the `mpi_force_c_code` feature in mbedtls-sys
* *legacy_protocols* Enable support for SSLv3, TLSv1.0 and TLSv1.1
* ~~*legacy_protocols* Enable support for SSLv3, TLSv1.0 and TLSv1.1~~ (removed in mbedtls 3.X)
* *no_std_deps* On no_std, you must enable this feature. It enables optional
dependencies needed on no_std. If the `std` feature is enabled,
this feature is ignored.
Expand All @@ -42,7 +42,7 @@ This is a list of the Cargo features available for mbedtls. Features in
allocator is *required*) The necessary C functions to make MbedTLS
work without libc will be provided.
* **time** Enable time support in mbedtls-sys.
* *zlib* Enable zlib support in mbedtls-sys.
* ~~*zlib* Enable zlib support in mbedtls-sys.~~ (removed in mbedtls 3.X)
* *async-rt* Enable async support for SSL.

PRs adding new features are encouraged.
Expand Down Expand Up @@ -96,7 +96,7 @@ This is a list of the Cargo features available for mbedtls-sys. Features in
* **debug** Enable debug callbacks.
* *havege* Enable the Hardware Volatile Entropy Gathering and Expansion
(HAVEGE) algorithm.
* **legacy_protocols** Enable support for SSLv3, TLSv1.0 and TLSv1.1
* ~~**legacy_protocols** Enable support for SSLv3, TLSv1.0 and TLSv1.1~~ (removed in mbedtls 3.X)
* *mpi_force_c_code* MbedTLS uses assembly code for MPI functions, when available.
In some situations we may prefer C code instead. This is in
particular the case on x86 platforms where compile-time mitigation
Expand Down Expand Up @@ -126,7 +126,7 @@ This is a list of the Cargo features available for mbedtls-sys. Features in
`mbedtls_platform_gmtime_r(const long long*, struct tm*)` and
`mbedtls_time(long long*)`.
* *trusted_cert_callback* Enable trusted certificate callback support.
* **zlib** Enable zlib support.
* ~~**zlib** Enable zlib support.~~ (removed in mbedtls 3.X)

For the complete mapping of features to config.h defines, see
[mbedtls-sys/build/config.rs]. PRs adding new features are encouraged.
Expand Down

0 comments on commit 64207ad

Please sign in to comment.