From 9538c9097eebeb38eeb9eef631491c8930669cf2 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 20 Sep 2022 20:38:42 +0200 Subject: [PATCH] Remove incorrect comment This comment (which used to be attached to the implementation, and should not have been moved to the header file) is incorrect: the library function mbedtls_mpi_read_string preserves leading zeros as desired, but does not create a zero-limb object for an empty string. Signed-off-by: Gilles Peskine --- tests/include/test/helpers.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/include/test/helpers.h b/tests/include/test/helpers.h index 0d97e80e5..787b96ab0 100644 --- a/tests/include/test/helpers.h +++ b/tests/include/test/helpers.h @@ -379,7 +379,6 @@ void mbedtls_test_err_add_check( int high, int low, * * \return \c 0 on success, an \c MBEDTLS_ERR_MPI_xxx error code otherwise. */ -/* Since the library has exactly the desired behavior, this is trivial. */ int mbedtls_test_read_mpi( mbedtls_mpi *X, const char *s ); #endif /* MBEDTLS_BIGNUM_C */