From dac42bdce1ed19e646c2adf04b27fc92a9d0e374 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 25 Aug 2023 12:04:04 +0100 Subject: 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 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/21842) --- demos/guide/quic-multi-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/guide/quic-multi-stream.c b/demos/guide/quic-multi-stream.c index 86dc6e3..5b7c858 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; } -- cgit v1.1