aboutsummaryrefslogtreecommitdiffstats
path: root/demos/guide/quic-multi-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/guide/quic-multi-stream.c')
-rw-r--r--demos/guide/quic-multi-stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/guide/quic-multi-stream.c b/demos/guide/quic-multi-stream.c
index 67f2f83652..7a40d61ad4 100644
--- a/demos/guide/quic-multi-stream.c
+++ b/demos/guide/quic-multi-stream.c
@@ -214,11 +214,13 @@ int main(void)
goto end;
}
+ /* Set the IP address of the remote peer */
if (!SSL_set_initial_peer_addr(ssl, peer_addr)) {
printf("Failed to set the initial peer address\n");
goto end;
}
+ /* Connect to the server and perform the TLS handshake */
if ((ret = SSL_connect(ssl)) < 1) {
/*
* If the failure is due to a verification error we can get more