summaryrefslogtreecommitdiff
path: root/ssl/quic
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/quic')
-rw-r--r--ssl/quic/quic_impl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index 72ea5118af..4c34ab8e40 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -537,7 +537,8 @@ long ossl_quic_ctrl(SSL *s, int cmd, long larg, void *parg)
qc->ssl_mode &= ~(uint32_t)larg;
return qc->ssl_mode;
default:
- return 0;
+ /* Probably a TLS related ctrl. Defer to our internal SSL object */
+ return SSL_ctrl(qc->tls, cmd, larg, parg);
}
}