Use int pointer for paused param in mbedtls_mps_reader_reclaim()

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2021-02-22 16:04:06 +00:00
parent fea81b3997
commit b9c086adc5
2 changed files with 2 additions and 2 deletions

View file

@ -411,7 +411,7 @@ int mbedtls_mps_reader_commit( mbedtls_mps_reader *rd )
} }
int mbedtls_mps_reader_reclaim( mbedtls_mps_reader *rd, int mbedtls_mps_reader_reclaim( mbedtls_mps_reader *rd,
mbedtls_mps_size_t *paused ) int *paused )
{ {
unsigned char *frag, *acc; unsigned char *frag, *acc;
mbedtls_mps_size_t pending, commit; mbedtls_mps_size_t pending, commit;

View file

@ -311,7 +311,7 @@ int mbedtls_mps_reader_feed( mbedtls_mps_reader *reader,
* \return A negative \c MBEDTLS_ERR_READER_XXX error code on failure. * \return A negative \c MBEDTLS_ERR_READER_XXX error code on failure.
*/ */
int mbedtls_mps_reader_reclaim( mbedtls_mps_reader *reader, int mbedtls_mps_reader_reclaim( mbedtls_mps_reader *reader,
mbedtls_mps_size_t *paused ); int *paused );
/* /*
* Usage API (Upper layer) * Usage API (Upper layer)