memory_buffer_alloc_init() now returns void

This commit is contained in:
Manuel Pégourié-Gonnard 2015-04-29 01:05:19 +02:00
parent 41d479e7df
commit 69a69cc5ae
3 changed files with 3 additions and 5 deletions

View file

@ -69,10 +69,8 @@ extern "C" {
*
* \param buf buffer to use as heap
* \param len size of the buffer
*
* \return 0 if successful
*/
int mbedtls_memory_buffer_alloc_init( unsigned char *buf, size_t len );
void mbedtls_memory_buffer_alloc_init( unsigned char *buf, size_t len );
/**
* \brief Free the mutex for thread-safety and clear remaining memory