tls13: Fix/Improve comments

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-02-14 11:28:05 +01:00
parent 84dfbf488a
commit b9a9b1f5a5
3 changed files with 30 additions and 32 deletions

View file

@ -1680,7 +1680,7 @@ struct mbedtls_ssl_context {
* See the documentation of mbedtls_ssl_get_early_data_status() for more * See the documentation of mbedtls_ssl_get_early_data_status() for more
* information. * information.
* *
* Reset to #MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_SENT when the context is * Reset to #MBEDTLS_SSL_EARLY_DATA_STATUS_UNKNOWN when the context is
* reset. * reset.
*/ */
int MBEDTLS_PRIVATE(early_data_status); int MBEDTLS_PRIVATE(early_data_status);

View file

@ -607,9 +607,7 @@ int mbedtls_test_get_tls13_ticket(
mbedtls_test_handshake_test_options *client_options, mbedtls_test_handshake_test_options *client_options,
mbedtls_test_handshake_test_options *server_options, mbedtls_test_handshake_test_options *server_options,
mbedtls_ssl_session *session); mbedtls_ssl_session *session);
#endif /* MBEDTLS_SSL_CLI_C && MBEDTLS_SSL_SRV_C && #endif
MBEDTLS_SSL_PROTO_TLS1_3 && MBEDTLS_SSL_SESSION_TICKETS &&
MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED */
#define ECJPAKE_TEST_PWD "bla" #define ECJPAKE_TEST_PWD "bla"