mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Fix for compiling with NO_ASN_TIME
This commit is contained in:
@@ -14501,7 +14501,9 @@ void SetupSession(WOLFSSL* ssl)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
session->timeout = ssl->timeout;
|
session->timeout = ssl->timeout;
|
||||||
|
#ifndef NO_ASN_TIME
|
||||||
session->bornOn = LowResTimer();
|
session->bornOn = LowResTimer();
|
||||||
|
#endif
|
||||||
#if defined(SESSION_CERTS) || (defined(WOLFSSL_TLS13) && \
|
#if defined(SESSION_CERTS) || (defined(WOLFSSL_TLS13) && \
|
||||||
defined(HAVE_SESSION_TICKET))
|
defined(HAVE_SESSION_TICKET))
|
||||||
session->version = ssl->version;
|
session->version = ssl->version;
|
||||||
|
Reference in New Issue
Block a user