platform_utils.{c/h} -> platform_util.{c/h}

This commit is contained in:
Hanno Becker 2018-09-05 16:25:50 +01:00
parent 5a7fe14590
commit 7dd82b4f51
3 changed files with 3 additions and 3 deletions

View File

@ -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.
*/ */

View File

@ -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
*/ */

View 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
*/ */