mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Merge pull request #4382 from hanno-arm/max_record_payload_api
Remove MFL query API and add API for maximum plaintext size of incoming records
This commit is contained in:
11
docs/3.0-migration-guide.d/max-record-payload-api.md
Normal file
11
docs/3.0-migration-guide.d/max-record-payload-api.md
Normal file
@ -0,0 +1,11 @@
|
||||
Remove MaximumFragmentLength (MFL) query API
|
||||
-----------------------------------------------------------------
|
||||
|
||||
This affects users which use the MFL query APIs
|
||||
`mbedtls_ssl_get_{input,output}_max_frag_len()` to
|
||||
infer upper bounds on the plaintext size of incoming and
|
||||
outgoing record.
|
||||
|
||||
Users should switch to `mbedtls_ssl_get_max_{in,out}_record_payload()`
|
||||
instead, which also provides such upper bounds but takes more factors
|
||||
than just the MFL configuration into account.
|
@ -50,7 +50,9 @@ The function `mbedtls_ssl_conf_dh_param()` was removed. Please use
|
||||
`mbedtls_ssl_conf_dh_param_bin()` or `mbedtls_ssl_conf_dh_param_ctx()` instead.
|
||||
|
||||
The function `mbedtls_ssl_get_max_frag_len()` was removed. Please use
|
||||
`mbedtls_ssl_get_output_max_frag_len()` instead.
|
||||
`mbedtls_ssl_get_max_out_record_payload()` and
|
||||
`mbedtls_ssl_get_max_in_record_payload()`
|
||||
instead.
|
||||
|
||||
Deprecated hex-encoded primes were removed from DHM
|
||||
---------------------------------------------------
|
||||
|
Reference in New Issue
Block a user