Skip to content

Commit

Permalink
add has early data into in_progress list
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
  • Loading branch information
yuhaoth committed Dec 4, 2023
1 parent 54b3d9f commit 893af4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/ssl/ssl_server2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ static int mbedtls_status_is_ssl_in_progress(int ret)
{
return ret == MBEDTLS_ERR_SSL_WANT_READ ||
ret == MBEDTLS_ERR_SSL_WANT_WRITE ||
ret == MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS;
ret == MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS ||
ret == MBEDTLS_ERR_SSL_HAS_EARLY_DATA;
}

#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
Expand Down

0 comments on commit 893af4c

Please sign in to comment.