Skip to content

Commit

Permalink
fix unused variable issue
Browse files Browse the repository at this point in the history
when !MBEDTLS_ZERO_RTT and USE_MPS, varibales
report unused error

Signed-off-by: Jerry Yu <[email protected]>
  • Loading branch information
yuhaoth committed Dec 13, 2022
1 parent ab189df commit a6bef9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/ssl_tls13_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2276,7 +2276,7 @@ MBEDTLS_CHECK_RETURN_CRITICAL
int ssl_tls13_write_early_data_process( mbedtls_ssl_context *ssl )
{
int ret;
#if defined(MBEDTLS_SSL_USE_MPS)
#if defined(MBEDTLS_SSL_USE_MPS) && defined(MBEDTLS_ZERO_RTT)
mbedtls_writer *msg;
unsigned char *buf;
mbedtls_mps_size_t buf_len, msg_len;
Expand Down

0 comments on commit a6bef9c

Please sign in to comment.