1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Merge pull request #8017 from ivq/unchecked_return

Fix a few unchecked return values
This commit is contained in:
Tom Cosgrove
2023-08-21 13:02:53 +00:00
committed by GitHub
4 changed files with 7 additions and 4 deletions

View File

@ -2033,7 +2033,7 @@ int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
/*
* Load the result in the output variable.
*/
mbedtls_mpi_copy(X, &W[x_index]);
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(X, &W[x_index]));
cleanup: