mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-03 20:54:00 +00:00
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 <Gilles.Peskine@arm.com>
This commit is contained in:
parent
845de0898e
commit
97483b0fd4
@ -291,7 +291,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.
|
* \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 );
|
int mbedtls_test_read_mpi( mbedtls_mpi *X, const char *s );
|
||||||
#endif /* MBEDTLS_BIGNUM_C */
|
#endif /* MBEDTLS_BIGNUM_C */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user