mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Rename mbedtls_platform_gmtime() to mbedtls_platform_gmtime_r()
For consistency, also rename MBEDTLS_PLATFORM_GMTIME_ALT to MBEDTLS_PLATFORM_GMTIME_R_ALT.
This commit is contained in:
parent
be2e4bddd5
commit
6a739789f3
6 changed files with 37 additions and 37 deletions
|
|
@ -898,7 +898,7 @@ static int x509_get_current_time( mbedtls_x509_time *now )
|
|||
int ret = 0;
|
||||
|
||||
tt = mbedtls_time( NULL );
|
||||
lt = mbedtls_platform_gmtime( &tt, &tm_buf );
|
||||
lt = mbedtls_platform_gmtime_r( &tt, &tm_buf );
|
||||
|
||||
if( lt == NULL )
|
||||
ret = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue