Searched refs:lt (Results 1 – 2 of 2) sorted by relevance
111 struct tm *lt; in mbedtls_platform_gmtime_r()118 lt = gmtime( tt ); in mbedtls_platform_gmtime_r()120 if( lt != NULL ) in mbedtls_platform_gmtime_r()122 memcpy( tm_buf, lt, sizeof( struct tm ) ); in mbedtls_platform_gmtime_r()130 return( ( lt == NULL ) ? NULL : tm_buf ); in mbedtls_platform_gmtime_r()
903 struct tm *lt, tm_buf; in x509_get_current_time() local908 lt = mbedtls_platform_gmtime_r( &tt, &tm_buf ); in x509_get_current_time()910 if( lt == NULL ) in x509_get_current_time()914 now->year = lt->tm_year + 1900; in x509_get_current_time()915 now->mon = lt->tm_mon + 1; in x509_get_current_time()916 now->day = lt->tm_mday; in x509_get_current_time()917 now->hour = lt->tm_hour; in x509_get_current_time()918 now->min = lt->tm_min; in x509_get_current_time()919 now->sec = lt->tm_sec; in x509_get_current_time()
Completed in 4 milliseconds