mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
src/ssl_sess.c: in wolfSSL_CTX_flush_sessions(), add missing check of s->sessionIDSz, similar to the fix to TlsSessionCacheGetAndLock() in #8182 (ef67b1c06a
). also, add missing macro to .wolfssl_known_macro_extras.
This commit is contained in:
@@ -463,6 +463,7 @@ STM32L475xx
|
||||
STM32L4A6xx
|
||||
STM32L552xx
|
||||
STM32L562xx
|
||||
STM32MP135Fxx
|
||||
STM32U575xx
|
||||
STM32U585xx
|
||||
STM32U5A9xx
|
||||
|
@@ -843,6 +843,7 @@ void wolfSSL_CTX_flush_sessions(WOLFSSL_CTX* ctx, long tm)
|
||||
#ifdef SESSION_CACHE_DYNAMIC_MEM
|
||||
s != NULL &&
|
||||
#endif
|
||||
s->sessionIDSz == ID_LEN &&
|
||||
XMEMCMP(s->sessionID, id, ID_LEN) != 0 &&
|
||||
s->bornOn + s->timeout < (word32)tm
|
||||
)
|
||||
|
Reference in New Issue
Block a user