1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Add hello retry request count for server

Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
This commit is contained in:
XiaokangQian
2022-02-22 04:03:26 +00:00
parent a9c58419f2
commit 7ac3ab3404
2 changed files with 6 additions and 2 deletions

View File

@ -585,6 +585,10 @@ struct mbedtls_ssl_handshake_params
/*!< Number of Hello Retry Request messages received from the server. */
int hello_retry_request_count;
#endif /* MBEDTLS_SSL_CLI_C */
#if defined(MBEDTLS_SSL_SRV_C)
/*!< Number of Hello Retry Request messages sent by the server. */
int hello_retry_requests_sent;
#endif /* MBEDTLS_SSL_SRV_C */
#if defined(MBEDTLS_SSL_PROTO_TLS1_2) && \
defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)