commit | ce0aab44745e63f3500215ca4bc7e69f14bdacf7 | [log] [tgz] |
---|---|---|
author | Piotr Nowicki <piotr.nowicki@arm.com> | Mon Jun 08 14:08:49 2020 +0200 |
committer | Piotr Nowicki <piotr.nowicki@arm.com> | Wed Jun 10 13:51:32 2020 +0200 |
tree | 2b8c1d5659496a9d79a9d3283cfa34c100b0ffa1 | |
parent | 5d5841f4506f524a41e8e77e08049b24bcac0686 [diff] [blame] |
Add new error code PLATFORM_ALLOC_FAILED for mbedtls_platform_memmove() Signed-off-by: Piotr Nowicki <piotr.nowicki@arm.com>
diff --git a/library/platform_util.c b/library/platform_util.c index 694e23a..17913b4 100644 --- a/library/platform_util.c +++ b/library/platform_util.c
@@ -141,7 +141,7 @@ return 0; } - return -1; + return MBEDTLS_ERR_PLATFORM_ALLOC_FAILED; } int mbedtls_platform_memcmp( const void *buf1, const void *buf2, size_t num )