summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-08-25 12:04:04 +0100
committerTomas Mraz <tomas@openssl.org>2023-08-28 09:58:20 +0200
commitdac42bdce1ed19e646c2adf04b27fc92a9d0e374 (patch)
treea0e70f7682a9fc6ae2556d9b80681f84e1747e9a /demos
parent7a5f58b2cf0d7b2fa0451603a88c3976c657dae9 (diff)
Fix a bad merge in quic-multi-stream.c demo
The function SSL_set_initial_peer_addr() got renamed to SSL_set1_initial_peer_addr(). The demo missed out on the rename when it got rebased on top of it. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21842)
Diffstat (limited to 'demos')
-rw-r--r--demos/guide/quic-multi-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/guide/quic-multi-stream.c b/demos/guide/quic-multi-stream.c
index 86dc6e3502..5b7c8581eb 100644
--- a/demos/guide/quic-multi-stream.c
+++ b/demos/guide/quic-multi-stream.c
@@ -215,7 +215,7 @@ int main(void)
}
/* Set the IP address of the remote peer */
- if (!SSL_set_initial_peer_addr(ssl, peer_addr)) {
+ if (!SSL_set1_initial_peer_addr(ssl, peer_addr)) {
printf("Failed to set the initial peer address\n");
goto end;
}