mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 04:05:44 +01:00
Don't promise that passing a NULL to mbedtls_mpi_read_string works
This commit is contained in:
parent
01c3c10640
commit
d73101266d
@ -412,8 +412,7 @@ int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s );
|
||||
* \param X The source MPI. This must point to an initialized MPI.
|
||||
* \param radix The numeric base of the output string.
|
||||
* \param buf The buffer to write the string to. This must be writable
|
||||
* buffer of length \p buflen Bytes. It May be \c NULL if
|
||||
* `buflen == 0`.
|
||||
* buffer of length \p buflen Bytes.
|
||||
* \param buflen The available size in Bytes of \p buf.
|
||||
* \param olen The address at which to store the length of the string
|
||||
* written, including the final \c NULL byte. This must
|
||||
|
Loading…
Reference in New Issue
Block a user