summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-11-30 08:00:19 +0000
committerHugo Landau <hlandau@openssl.org>2023-01-13 13:20:19 +0000
commit8a1a6d6d9e9a6bc091f0dc21503da214e2614209 (patch)
tree46202bfb6db9e9ec492489c838e2f9b61ed30f47 /ssl
parent9bbc5b54b0f0c64d21eaea35ee3f9722aa77a56e (diff)
QUIC Front End I/O API: Wire up SSL_CTX ctrls and remove unneeded functions
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_impl.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index aac427bc49..172edb473a 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -1159,23 +1159,18 @@ long ossl_quic_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)
{
switch (cmd) {
default:
- return 0;
+ return ssl3_ctx_ctrl(ctx, cmd, larg, parg);
}
}
long ossl_quic_callback_ctrl(SSL *s, int cmd, void (*fp) (void))
{
- return 0;
+ return ssl3_callback_ctrl(s, cmd, fp);
}
long ossl_quic_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp) (void))
{
- return 0;
-}
-
-QUIC_CONNECTION *ossl_quic_conn_from_ssl(SSL *ssl)
-{
- return QUIC_CONNECTION_FROM_SSL(ssl);
+ return ssl3_ctx_callback_ctrl(ctx, cmd, fp);
}
int ossl_quic_renegotiate_check(SSL *ssl, int initok)