mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-26 12:39:55 +00:00
Fix Doxygen marks
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
a2da9c7e45
commit
217d699d85
@ -1128,8 +1128,8 @@ struct mbedtls_ssl_session
|
|||||||
|
|
||||||
unsigned char MBEDTLS_PRIVATE(exported);
|
unsigned char MBEDTLS_PRIVATE(exported);
|
||||||
|
|
||||||
/*!< TLS version negotiated in the session. Used if and when renegotiating
|
/** TLS version negotiated in the session. Used if and when renegotiating
|
||||||
* or resuming a session instead of the configured minor TLS version.
|
* or resuming a session instead of the configured minor TLS version.
|
||||||
*/
|
*/
|
||||||
mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(tls_version);
|
mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(tls_version);
|
||||||
|
|
||||||
@ -1514,19 +1514,19 @@ struct mbedtls_ssl_context
|
|||||||
renego_max_records is < 0 */
|
renego_max_records is < 0 */
|
||||||
#endif /* MBEDTLS_SSL_RENEGOTIATION */
|
#endif /* MBEDTLS_SSL_RENEGOTIATION */
|
||||||
|
|
||||||
/*!< Server: Negotiated TLS protocol version.
|
/** Server: Negotiated TLS protocol version.
|
||||||
* Client: Maximum TLS version to be negotiated, then negotiated TLS
|
* Client: Maximum TLS version to be negotiated, then negotiated TLS
|
||||||
* version.
|
* version.
|
||||||
*
|
*
|
||||||
* It is initialized as the maximum TLS version to be negotiated in the
|
* It is initialized as the maximum TLS version to be negotiated in the
|
||||||
* ClientHello writing preparation stage and used throughout the
|
* ClientHello writing preparation stage and used throughout the
|
||||||
* ClientHello writing. For a fresh handshake not linked to any previous
|
* ClientHello writing. For a fresh handshake not linked to any previous
|
||||||
* handshake, it is initialized to the configured maximum TLS version
|
* handshake, it is initialized to the configured maximum TLS version
|
||||||
* to be negotiated. When renegotiating or resuming a session, it is
|
* to be negotiated. When renegotiating or resuming a session, it is
|
||||||
* initialized to the previously negotiated TLS version.
|
* initialized to the previously negotiated TLS version.
|
||||||
*
|
*
|
||||||
* Updated to the negotiated TLS version as soon as the ServerHello is
|
* Updated to the negotiated TLS version as soon as the ServerHello is
|
||||||
* received.
|
* received.
|
||||||
*/
|
*/
|
||||||
mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(tls_version);
|
mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(tls_version);
|
||||||
|
|
||||||
|
@ -514,23 +514,23 @@ struct mbedtls_ssl_handshake_params
|
|||||||
#endif /* MBEDTLS_SSL_SESSION_TICKETS */
|
#endif /* MBEDTLS_SSL_SESSION_TICKETS */
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_CLI_C)
|
#if defined(MBEDTLS_SSL_CLI_C)
|
||||||
/*!< Minimum TLS version to be negotiated.
|
/** Minimum TLS version to be negotiated.
|
||||||
*
|
*
|
||||||
* It is set up in the ClientHello writing preparation stage and used
|
* It is set up in the ClientHello writing preparation stage and used
|
||||||
* throughout the ClientHello writing. Not relevant anymore as soon as
|
* throughout the ClientHello writing. Not relevant anymore as soon as
|
||||||
* the protocol version has been negotiated thus as soon as the
|
* the protocol version has been negotiated thus as soon as the
|
||||||
* ServerHello is received.
|
* ServerHello is received.
|
||||||
* For a fresh handshake not linked to any previous handshake, it is
|
* For a fresh handshake not linked to any previous handshake, it is
|
||||||
* equal to the configured minimum minor version to be negotiated. When
|
* equal to the configured minimum minor version to be negotiated. When
|
||||||
* renegotiating or resuming a session, it is equal to the previously
|
* renegotiating or resuming a session, it is equal to the previously
|
||||||
* negotiated minor version.
|
* negotiated minor version.
|
||||||
*
|
*
|
||||||
* There is no maximum TLS version field in this handshake context.
|
* There is no maximum TLS version field in this handshake context.
|
||||||
* From the start of the handshake, we need to define a current protocol
|
* From the start of the handshake, we need to define a current protocol
|
||||||
* version for the record layer which we define as the maximum TLS
|
* version for the record layer which we define as the maximum TLS
|
||||||
* version to be negotiated. The `tls_version` field of the SSL context is
|
* version to be negotiated. The `tls_version` field of the SSL context is
|
||||||
* used to store this maximum value until it contains the actual
|
* used to store this maximum value until it contains the actual
|
||||||
* negotiated value.
|
* negotiated value.
|
||||||
*/
|
*/
|
||||||
mbedtls_ssl_protocol_version min_tls_version;
|
mbedtls_ssl_protocol_version min_tls_version;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user