summaryrefslogtreecommitdiffstats
path: root/demos/guide/quic-client-block.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-08-14 15:40:52 +0100
committerMatt Caswell <matt@openssl.org>2023-08-25 11:42:51 +0100
commit584140fa4b0a037c85b58722a08ba6fd0ee086ce (patch)
tree7a5b9c1a3142f6e94f1c67f199616a1af32be2e8 /demos/guide/quic-client-block.c
parent344ae0f39afa0b4cc352eac64d6e7d25bb37e9bd (diff)
Add a QUIC multi-stream client demo
Demonstrate how to use the QUIC multi-stream APIs with a simple blocking client. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21765)
Diffstat (limited to 'demos/guide/quic-client-block.c')
-rw-r--r--demos/guide/quic-client-block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/guide/quic-client-block.c b/demos/guide/quic-client-block.c
index 7d3380675c..be17934f6b 100644
--- a/demos/guide/quic-client-block.c
+++ b/demos/guide/quic-client-block.c
@@ -123,7 +123,7 @@ static BIO *create_socket_bio(const char *hostname, const char *port,
int main(void)
{
SSL_CTX *ctx = NULL;
- SSL *ssl;
+ SSL *ssl = NULL;
BIO *bio = NULL;
int res = EXIT_FAILURE;
int ret;