Incorporate more review feedback

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24673)
This commit is contained in:
Robert Schulze 2024-06-19 08:40:16 +00:00 committed by Neil Horman
parent 8d934a7592
commit af82623d32

View File

@ -530,7 +530,6 @@ struct ssl_session_st {
* certificate is not ok, we must remember the error for session reuse:
*/
long verify_result; /* only for servers */
CRYPTO_REF_COUNT references;
OSSL_TIME timeout;
OSSL_TIME time;
OSSL_TIME calc_timeout;
@ -572,9 +571,10 @@ struct ssl_session_st {
/*
* These are used to make removal of session-ids more efficient and to
* implement a maximum cache size.
* implement a maximum cache size. Access requires protection of ctx->lock.
*/
struct ssl_session_st *prev, *next;
CRYPTO_REF_COUNT references;
};
/* Extended master secret support */