From 86064f9a04b14db78303cc0ef629b2df6b175f74 Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 9 May 2023 13:26:19 -0600 Subject: [PATCH] Fix for compiling with NO_ASN_TIME --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index abd78681e..8bae4bc3e 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -14501,7 +14501,9 @@ void SetupSession(WOLFSSL* ssl) } #endif session->timeout = ssl->timeout; +#ifndef NO_ASN_TIME session->bornOn = LowResTimer(); +#endif #if defined(SESSION_CERTS) || (defined(WOLFSSL_TLS13) && \ defined(HAVE_SESSION_TICKET)) session->version = ssl->version;