mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Code style
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
ba67451562
commit
5f6060a1f3
@ -137,7 +137,7 @@ void mbedtls_platform_zeroize(void *buf, size_t len)
|
|||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wvla"
|
#pragma GCC diagnostic ignored "-Wvla"
|
||||||
#endif
|
#endif
|
||||||
asm volatile ("" : : "m" (*(char (*)[len]) buf) : );
|
asm volatile ("" : : "m" (*(char (*)[len]) buf) :);
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#elif defined(MBEDTLS_COMPILER_IS_GCC)
|
#elif defined(MBEDTLS_COMPILER_IS_GCC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user