mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 10:34:20 +01:00
platform_utils.{c/h} -> platform_util.{c/h}
This commit is contained in:
parent
5a7fe14590
commit
7dd82b4f51
@ -114,7 +114,7 @@ extern mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex;
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#if !defined(_POSIX_VERSION) || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS
|
#if !defined(_POSIX_VERSION) || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS
|
||||||
/*
|
/*
|
||||||
* The preprocessor conditions above are the same as in platform_utils.c and
|
* The preprocessor conditions above are the same as in platform_util.c and
|
||||||
* threading.c. Remember to update the code there when changing the conditions
|
* threading.c. Remember to update the code there when changing the conditions
|
||||||
* here.
|
* here.
|
||||||
*/
|
*/
|
||||||
|
@ -85,7 +85,7 @@ void mbedtls_platform_zeroize( void *buf, size_t len )
|
|||||||
/*
|
/*
|
||||||
* This is a convenience shorthand macro to avoid checking the long
|
* This is a convenience shorthand macro to avoid checking the long
|
||||||
* preprocessor conditions above. Ideally, we could expose this macro in
|
* preprocessor conditions above. Ideally, we could expose this macro in
|
||||||
* platform_utils.h and simply use it in platform_utils.c, threading.c and
|
* platform_util.h and simply use it in platform_util.c, threading.c and
|
||||||
* threading.h. However, this macro is not part of the Mbed TLS public API, so
|
* threading.h. However, this macro is not part of the Mbed TLS public API, so
|
||||||
* we keep it private by only defining it in this file
|
* we keep it private by only defining it in this file
|
||||||
*/
|
*/
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
/*
|
/*
|
||||||
* This is a convenience shorthand macro to avoid checking the long
|
* This is a convenience shorthand macro to avoid checking the long
|
||||||
* preprocessor conditions above. Ideally, we could expose this macro in
|
* preprocessor conditions above. Ideally, we could expose this macro in
|
||||||
* platform_utils.h and simply use it in platform_utils.c, threading.c and
|
* platform_util.h and simply use it in platform_util.c, threading.c and
|
||||||
* threading.h. However, this macro is not part of the Mbed TLS public API, so
|
* threading.h. However, this macro is not part of the Mbed TLS public API, so
|
||||||
* we keep it private by only defining it in this file
|
* we keep it private by only defining it in this file
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user