mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-03 10:20:36 +00:00
Typo fix
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
8b6eded03d
commit
8a7d26f12c
@ -95,7 +95,7 @@ void mbedtls_platform_zeroize(void *buf, size_t len)
|
|||||||
if (len > 0) {
|
if (len > 0) {
|
||||||
#if defined(MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO)
|
#if defined(MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO)
|
||||||
explicit_bzero(buf, len);
|
explicit_bzero(buf, len);
|
||||||
#elif(__STDC_LIB_EXT1__)
|
#elif defined(__STDC_LIB_EXT1__)
|
||||||
memset_s(buf, len, 0, len);
|
memset_s(buf, len, 0, len);
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
SecureZeroMemory(buf, len);
|
SecureZeroMemory(buf, len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user