forked from wolfSSL/wolfssl
Fix for compiling with NO_ASN_TIME
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user