diff options
author | Matt Caswell <matt@openssl.org> | 2023-03-13 18:36:24 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-03-19 23:35:55 +0100 |
commit | 0c593328fe811583da68d25b0c8bf87ba842acbb (patch) | |
tree | f11d86cdc06dac4da4315f67cb1cf8595c4234d1 /include | |
parent | Make sure the QRX and QTX are associated with a libctx (diff) | |
download | openssl-0c593328fe811583da68d25b0c8bf87ba842acbb.tar.xz openssl-0c593328fe811583da68d25b0c8bf87ba842acbb.zip |
Add a simple QUIC test for blocking mode
We create "real" sockets for blocking mode so that we can block on them.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)
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 f53ec9ffbb..a7fbb393f2 100644 --- a/include/internal/quic_tserver.h +++ b/include/internal/quic_tserver.h @@ -11,6 +11,7 @@ # define OSSL_QUIC_TSERVER_H # include <openssl/ssl.h> +# include <openssl/bio.h> # include "internal/quic_stream.h" # include "internal/quic_channel.h" # include "internal/statem.h" @@ -109,6 +110,8 @@ int ossl_quic_tserver_write(QUIC_TSERVER *srv, */ int ossl_quic_tserver_conclude(QUIC_TSERVER *srv); +BIO *ossl_quic_tserver_get0_rbio(QUIC_TSERVER *srv); + # endif #endif |