summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index a08fc013a3..28aa428521 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -7663,6 +7663,18 @@ int SSL_set_value_uint(SSL *s, uint32_t class_, uint32_t id,
return 0;
}
+SSL *SSL_new_listener(SSL_CTX *ctx, uint64_t flags)
+{
+#ifndef OPENSSL_NO_QUIC
+ if (!IS_QUIC_CTX(ctx))
+ return NULL;
+
+ return ossl_quic_new_listener(ctx, flags);
+#else
+ return NULL;
+#endif
+}
+
int SSL_add_expected_rpk(SSL *s, EVP_PKEY *rpk)
{
unsigned char *data = NULL;