Fix typo in comment for gmtime macro defines

This commit is contained in:
Andres Amaya Garcia 2018-09-05 11:52:07 +01:00
parent 193fe893a6
commit 3c9733a0a3
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ void mbedtls_platform_zeroize( void *buf, size_t len )
* 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_utils.h and simply use it in platform_utils.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 definining it in this file * we keep it private by only defining it in this file
*/ */
#define PLATFORM_UTIL_USE_GMTIME #define PLATFORM_UTIL_USE_GMTIME
#endif /* !_POSIX_VERSION || _POSIX_C_SOURCE > _POSIX_THREAD_SAFE_FUNCTIONS */ #endif /* !_POSIX_VERSION || _POSIX_C_SOURCE > _POSIX_THREAD_SAFE_FUNCTIONS */

View file

@ -44,7 +44,7 @@
* 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_utils.h and simply use it in platform_utils.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 definining it in this file * we keep it private by only defining it in this file
*/ */
#define THREADING_USE_GMTIME #define THREADING_USE_GMTIME
#endif /* !_POSIX_VERSION || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS */ #endif /* !_POSIX_VERSION || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS */