diff options
author | Matt Caswell <matt@openssl.org> | 2023-07-28 09:22:38 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-08-02 20:27:07 +0100 |
commit | 829eec9f86f94ca81de920a1b61e9b636792d3c2 (patch) | |
tree | 37a2007e6474ca14404d7ae6ca85b86e55045d8a /include | |
parent | f85d343208bd944b88891feba200259b4cd0ba7c (diff) |
Add the ability for tserver to use a pre-existing SSL_CTX
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21591)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_tserver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/quic_tserver.h b/include/internal/quic_tserver.h index cd87a9298e..1edb890a94 100644 --- a/include/internal/quic_tserver.h +++ b/include/internal/quic_tserver.h @@ -37,6 +37,7 @@ typedef struct quic_tserver_st QUIC_TSERVER; typedef struct quic_tserver_args_st { OSSL_LIB_CTX *libctx; const char *propq; + SSL_CTX *ctx; BIO *net_rbio, *net_wbio; OSSL_TIME (*now_cb)(void *arg); void *now_cb_arg; @@ -132,6 +133,8 @@ int ossl_quic_tserver_stream_new(QUIC_TSERVER *srv, BIO *ossl_quic_tserver_get0_rbio(QUIC_TSERVER *srv); +SSL_CTX *ossl_quic_tserver_get0_ssl_ctx(QUIC_TSERVER *srv); + /* * Returns 1 if the peer has sent a STOP_SENDING frame for a stream. * app_error_code is written if this returns 1. |