Improve doc about length of strings written

This commit is contained in:
Manuel Pégourié-Gonnard 2015-06-23 12:10:45 +02:00
parent d23f593737
commit e244f9ffc0
4 changed files with 12 additions and 12 deletions

View file

@ -126,8 +126,8 @@ int mbedtls_x509_csr_parse_file( mbedtls_x509_csr *csr, const char *path );
* \param prefix A line prefix
* \param csr The X509 CSR to represent
*
* \return The length of the string written (exluding the terminating
* null byte), or a negative value in case of an error.
* \return The length of the string written (not including the
* terminated nul byte), or a negative error code.
*/
int mbedtls_x509_csr_info( char *buf, size_t size, const char *prefix,
const mbedtls_x509_csr *csr );