aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorRobert Schulze <robert@clickhouse.com>2024-06-19 08:40:16 +0000
committerNeil Horman <nhorman@openssl.org>2024-06-21 07:57:56 -0400
commitaf82623d32962b3eff5b0f0b0dedec5eb730b231 (patch)
tree475f5f519eff346bdef04dd5849341bd36c7a974 /ssl/ssl_local.h
parent8d934a75929d058bbc4566a6ebc9f804e1dd081f (diff)
downloadopenssl-af82623d32962b3eff5b0f0b0dedec5eb730b231.tar.gz
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)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 3a96c6a136..0d979ae723 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -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 */