mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 14:45:32 +00:00
Added implementation for memory_buffer_set_verify()
This commit is contained in:
parent
caa3af47c0
commit
bf796acf07
|
@ -464,6 +464,11 @@ static void buffer_alloc_free( void *ptr )
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void memory_buffer_set_verify( int verify )
|
||||||
|
{
|
||||||
|
heap.verify = verify;
|
||||||
|
}
|
||||||
|
|
||||||
int memory_buffer_alloc_verify()
|
int memory_buffer_alloc_verify()
|
||||||
{
|
{
|
||||||
return verify_chain();
|
return verify_chain();
|
||||||
|
|
Loading…
Reference in a new issue