mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 00:45:56 +01:00
Fix some typos and links in comments and doc
This commit is contained in:
parent
02f3a8a921
commit
065a2a3472
@ -1113,7 +1113,7 @@ struct mbedtls_ssl_context
|
|||||||
size_t out_left; /*!< amount of data not yet written */
|
size_t out_left; /*!< amount of data not yet written */
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_PROTO_DTLS)
|
#if defined(MBEDTLS_SSL_PROTO_DTLS)
|
||||||
uint16_t mtu; /*!< path mtu, used to fragment outoing messages */
|
uint16_t mtu; /*!< path mtu, used to fragment outgoing messages */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_ZLIB_SUPPORT)
|
#if defined(MBEDTLS_ZLIB_SUPPORT)
|
||||||
@ -1394,13 +1394,13 @@ void mbedtls_ssl_set_bio( mbedtls_ssl_context *ssl,
|
|||||||
*
|
*
|
||||||
* \note This only controls the size of the packet we send.
|
* \note This only controls the size of the packet we send.
|
||||||
* Client-side, you can request the server to use smaller
|
* Client-side, you can request the server to use smaller
|
||||||
* records with \c mbedtls_conf_max_frag_len().
|
* 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 lower limit
|
* configured (or negotiated with the peer), the lower limit
|
||||||
* is used.
|
* is used.
|
||||||
*
|
*
|
||||||
* \note Values larger than \c MBEDTLS_SSL_OUT_CONTENT_LEN have no
|
* \note Values larger than #MBEDTLS_SSL_OUT_CONTENT_LEN have no
|
||||||
* effect. This can only be used to decrease the maximum size
|
* effect. This can only be used to decrease the maximum size
|
||||||
* of datagrams sent. Values lower than record layer expansion
|
* of datagrams sent. Values lower than record layer expansion
|
||||||
* are ignored.
|
* are ignored.
|
||||||
|
@ -3034,7 +3034,7 @@ void mbedtls_ssl_send_flight_completed( mbedtls_ssl_context *ssl )
|
|||||||
* - ssl->out_msg[0]: the handshake type (ClientHello, ServerHello, etc)
|
* - ssl->out_msg[0]: the handshake type (ClientHello, ServerHello, etc)
|
||||||
* - ssl->out_msg + 4: the handshake message body
|
* - ssl->out_msg + 4: the handshake message body
|
||||||
*
|
*
|
||||||
* Ouputs, ie state before passing to flight_append() or write_record():
|
* Outputs, ie state before passing to flight_append() or write_record():
|
||||||
* - ssl->out_msglen: the length of the record contents
|
* - ssl->out_msglen: the length of the record contents
|
||||||
* (including handshake headers but excluding record headers)
|
* (including handshake headers but excluding record headers)
|
||||||
* - ssl->out_msg: the record contents (handshake headers + content)
|
* - ssl->out_msg: the record contents (handshake headers + content)
|
||||||
|
Loading…
Reference in New Issue
Block a user