Improve wording in ChangeLog and documentation

This commit is contained in:
Manuel Pégourié-Gonnard 2018-08-21 09:53:22 +02:00
parent 6151298395
commit f2f1d40d6d
2 changed files with 8 additions and 5 deletions

View File

@ -5,7 +5,7 @@ mbed TLS ChangeLog (Sorted per branch, date)
Features Features
* Add support for fragmentation of outgoing DTLS handshake messages. This * Add support for fragmentation of outgoing DTLS handshake messages. This
is controlled by the maximum fragment length as set locally or negotiated is controlled by the maximum fragment length as set locally or negotiated
with the peer, as well as new per-connection MTU option, set using with the peer, as well as by a new per-connection MTU option, set using
mbedtls_ssl_set_mtu(). mbedtls_ssl_set_mtu().
Bugfix Bugfix

View File

@ -1392,9 +1392,11 @@ void mbedtls_ssl_set_bio( mbedtls_ssl_context *ssl,
* example when a PMTU estimate becomes available from other * example when a PMTU estimate becomes available from other
* sources, such as lower (or higher) protocol layers. * sources, such as lower (or higher) protocol layers.
* *
* \note This only controls the size of the packets we send. * \note This setting only controls the size of the packets we send,
* Client-side, you can request the server to use smaller * and does not restrict the size of the datagrams we're
* records with \c mbedtls_ssl_conf_max_frag_len(). * willing to receive. Client-side, you can request the
* server to use smaller records with \c
* mbedtls_ssl_conf_max_frag_len().
* *
* \note If both a MTU and a maximum fragment length have been * \note If both a MTU and a maximum fragment length have been
* configured (or negotiated with the peer), the resulting * configured (or negotiated with the peer), the resulting
@ -1402,7 +1404,8 @@ void mbedtls_ssl_set_bio( mbedtls_ssl_context *ssl,
* on the record content length) is used. * on the record content length) is used.
* *
* \note This can only be used to decrease the maximum size * \note This can only be used to decrease the maximum size
* of datagrams sent. It cannot be used to increase the * of datagrams (hence records, as records cannot span
* multiple datagrams) sent. It cannot be used to increase the
* maximum size of records over the limit set by * maximum size of records over the limit set by
* #MBEDTLS_SSL_OUT_CONTENT_LEN. * #MBEDTLS_SSL_OUT_CONTENT_LEN.
* *