From: Matt Caswell Date: Fri, 25 Aug 2023 11:04:04 +0000 (+0100) Subject: Fix a bad merge in quic-multi-stream.c demo X-Git-Tag: openssl-3.2.0-alpha1~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dac42bdce1ed19e646c2adf04b27fc92a9d0e374;p=thirdparty%2Fopenssl.git 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) --- diff --git a/demos/guide/quic-multi-stream.c b/demos/guide/quic-multi-stream.c index 86dc6e3502c..5b7c8581eb7 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; }