Skip to content

Commit 6efe524

Browse files
author
Ben Taylor
committed
revert change to gmtime arguments int ssl_context_info.c
Signed-off-by: Ben Taylor <[email protected]>
1 parent 7e8e438 commit 6efe524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/ssl/ssl_context_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static void print_time(const uint64_t *time)
277277
{
278278
#if defined(MBEDTLS_HAVE_TIME)
279279
char buf[20];
280-
struct tm *t = gmtime((mbedtls_time_t *) time);
280+
struct tm *t = gmtime((time_t *) time);
281281
static const char format[] = "%Y-%m-%d %H:%M:%S";
282282
if (NULL != t) {
283283
strftime(buf, sizeof(buf), format, t);

0 commit comments

Comments
 (0)