summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-02-14 10:06:45 +0000
committerTomas Mraz <tomas@openssl.org>2024-02-19 10:15:46 +0100
commita768a796f26ecebc12ac0bd9b86c5c30bfd9370b (patch)
treeff658b2f18a4f0be0af9097caf703291f8f15c5b /ssl
parent8c09d69883120d2a9fbe3fadf5f198b77fe901e3 (diff)
Minor updates
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23535)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_impl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index 4f552ca6b2..31548c1b1d 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -3307,14 +3307,11 @@ static int qctx_should_autotick(QCTX *ctx)
if (ctx->is_stream) {
event_handling_mode = ctx->xso->event_handling_mode;
if (event_handling_mode != SSL_VALUE_EVENT_HANDLING_MODE_INHERIT)
- return event_handling_mode == SSL_VALUE_EVENT_HANDLING_MODE_IMPLICIT;
+ return event_handling_mode != SSL_VALUE_EVENT_HANDLING_MODE_EXPLICIT;
}
event_handling_mode = ctx->qc->event_handling_mode;
- if (event_handling_mode == SSL_VALUE_EVENT_HANDLING_MODE_INHERIT)
- event_handling_mode = SSL_VALUE_EVENT_HANDLING_MODE_IMPLICIT;
-
- return event_handling_mode == SSL_VALUE_EVENT_HANDLING_MODE_IMPLICIT;
+ return event_handling_mode != SSL_VALUE_EVENT_HANDLING_MODE_EXPLICIT;
}
QUIC_NEEDS_LOCK